@@ -5912,18 +5912,6 @@ inline std::ostream &operator<<(std::ostream &os,
59125912 case UR_CONTEXT_INFO_USM_FILL2D_SUPPORT:
59135913 os << "UR_CONTEXT_INFO_USM_FILL2D_SUPPORT";
59145914 break;
5915- case UR_CONTEXT_INFO_ATOMIC_MEMORY_ORDER_CAPABILITIES:
5916- os << "UR_CONTEXT_INFO_ATOMIC_MEMORY_ORDER_CAPABILITIES";
5917- break;
5918- case UR_CONTEXT_INFO_ATOMIC_MEMORY_SCOPE_CAPABILITIES:
5919- os << "UR_CONTEXT_INFO_ATOMIC_MEMORY_SCOPE_CAPABILITIES";
5920- break;
5921- case UR_CONTEXT_INFO_ATOMIC_FENCE_ORDER_CAPABILITIES:
5922- os << "UR_CONTEXT_INFO_ATOMIC_FENCE_ORDER_CAPABILITIES";
5923- break;
5924- case UR_CONTEXT_INFO_ATOMIC_FENCE_SCOPE_CAPABILITIES:
5925- os << "UR_CONTEXT_INFO_ATOMIC_FENCE_SCOPE_CAPABILITIES";
5926- break;
59275915 default:
59285916 os << "unknown enumerator";
59295917 break;
@@ -6007,66 +5995,6 @@ inline ur_result_t printTagged(std::ostream &os, const void *ptr,
60075995
60085996 os << ")";
60095997 } break;
6010- case UR_CONTEXT_INFO_ATOMIC_MEMORY_ORDER_CAPABILITIES: {
6011- const ur_memory_order_capability_flags_t *tptr =
6012- (const ur_memory_order_capability_flags_t *)ptr;
6013- if (sizeof(ur_memory_order_capability_flags_t) > size) {
6014- os << "invalid size (is: " << size
6015- << ", expected: >=" << sizeof(ur_memory_order_capability_flags_t)
6016- << ")";
6017- return UR_RESULT_ERROR_INVALID_SIZE;
6018- }
6019- os << (const void *)(tptr) << " (";
6020-
6021- ur::details::printFlag<ur_memory_order_capability_flag_t>(os, *tptr);
6022-
6023- os << ")";
6024- } break;
6025- case UR_CONTEXT_INFO_ATOMIC_MEMORY_SCOPE_CAPABILITIES: {
6026- const ur_memory_scope_capability_flags_t *tptr =
6027- (const ur_memory_scope_capability_flags_t *)ptr;
6028- if (sizeof(ur_memory_scope_capability_flags_t) > size) {
6029- os << "invalid size (is: " << size
6030- << ", expected: >=" << sizeof(ur_memory_scope_capability_flags_t)
6031- << ")";
6032- return UR_RESULT_ERROR_INVALID_SIZE;
6033- }
6034- os << (const void *)(tptr) << " (";
6035-
6036- ur::details::printFlag<ur_memory_scope_capability_flag_t>(os, *tptr);
6037-
6038- os << ")";
6039- } break;
6040- case UR_CONTEXT_INFO_ATOMIC_FENCE_ORDER_CAPABILITIES: {
6041- const ur_memory_order_capability_flags_t *tptr =
6042- (const ur_memory_order_capability_flags_t *)ptr;
6043- if (sizeof(ur_memory_order_capability_flags_t) > size) {
6044- os << "invalid size (is: " << size
6045- << ", expected: >=" << sizeof(ur_memory_order_capability_flags_t)
6046- << ")";
6047- return UR_RESULT_ERROR_INVALID_SIZE;
6048- }
6049- os << (const void *)(tptr) << " (";
6050-
6051- ur::details::printFlag<ur_memory_order_capability_flag_t>(os, *tptr);
6052-
6053- os << ")";
6054- } break;
6055- case UR_CONTEXT_INFO_ATOMIC_FENCE_SCOPE_CAPABILITIES: {
6056- const ur_memory_scope_capability_flags_t *tptr =
6057- (const ur_memory_scope_capability_flags_t *)ptr;
6058- if (sizeof(ur_memory_scope_capability_flags_t) > size) {
6059- os << "invalid size (is: " << size
6060- << ", expected: >=" << sizeof(ur_memory_scope_capability_flags_t)
6061- << ")";
6062- return UR_RESULT_ERROR_INVALID_SIZE;
6063- }
6064- os << (const void *)(tptr) << " (";
6065-
6066- ur::details::printFlag<ur_memory_scope_capability_flag_t>(os, *tptr);
6067-
6068- os << ")";
6069- } break;
60705998 default:
60715999 os << "unknown enumerator";
60726000 return UR_RESULT_ERROR_INVALID_ENUMERATION;
0 commit comments