Skip to content

Commit

Permalink
Improvements to align CTS and Spec for Device:
Browse files Browse the repository at this point in the history
- Rework urDeviceGetInfoTest to move all enums to their own tests instead of a switch case (oneapi-src#2290)
- Remove the UR/OpenCL enum map function - no point maintaining both a switch case and a separate mapping function
- Update some spec wording for consistency
- Add missing info enums to OpenCL adapater
- Add new urDevicePartition test for checking UR_DEVICE_INFO_PARENT_DEVICE
  • Loading branch information
martygrant committed Dec 12, 2024
1 parent 06f48f6 commit 00d3b91
Show file tree
Hide file tree
Showing 26 changed files with 30,722 additions and 21,833 deletions.
455 changes: 227 additions & 228 deletions include/ur_api.h

Large diffs are not rendered by default.

2,607 changes: 1,422 additions & 1,185 deletions include/ur_ddi.h

Large diffs are not rendered by default.

686 changes: 344 additions & 342 deletions include/ur_print.h

Large diffs are not rendered by default.

39,657 changes: 23,167 additions & 16,490 deletions include/ur_print.hpp

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions scripts/core/EXP-BINDLESS-IMAGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ Enums
* ${X}_DEVICE_INFO_EXTERNAL_SEMAPHORE_IMPORT_SUPPORT_EXP
* ${X}_DEVICE_INFO_CUBEMAP_SUPPORT_EXP
* ${X}_DEVICE_INFO_CUBEMAP_SEAMLESS_FILTERING_SUPPORT_EXP
* ${X}_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_USM_EXP
* ${X}_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_EXP
* ${X}_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_USM_EXP
* ${X}_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_EXP
* ${X}_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_3D_EXP
* ${X}_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_USM_SUPPORT_EXP
* ${X}_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_SUPPORT_EXP
* ${X}_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_USM_SUPPORT_EXP
* ${X}_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_SUPPORT_EXP
* ${X}_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_3D_SUPPORT_EXP
* ${X}_DEVICE_INFO_IMAGE_ARRAY_SUPPORT_EXP
* ${X}_DEVICE_INFO_BINDLESS_UNIQUE_ADDRESSING_PER_DIM_EXP
* ${X}_DEVICE_INFO_BINDLESS_SAMPLE_1D_USM_EXP
* ${X}_DEVICE_INFO_BINDLESS_SAMPLE_2D_USM_EXP
* ${X}_DEVICE_INFO_BINDLESS_UNIQUE_ADDRESSING_PER_DIM_SUPPORT_EXP
* ${X}_DEVICE_INFO_BINDLESS_SAMPLE_1D_USM_SUPPORT_EXP
* ${X}_DEVICE_INFO_BINDLESS_SAMPLE_2D_USM_SUPPORT_EXP

* ${x}_command_t
* ${X}_COMMAND_EXTERNAL_SEMAPHORE_WAIT_EXP
Expand Down
4 changes: 2 additions & 2 deletions scripts/core/EXP-LOW-POWER-EVENTS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Enums
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* ${x}_device_info_t
* ${X}_DEVICE_INFO_LOW_POWER_EVENTS_EXP
* ${X}_DEVICE_INFO_LOW_POWER_EVENTS_SUPPORT_EXP
* ${x}_queue_flags_t
* ${X}_QUEUE_FLAG_LOW_POWER_EVENTS_EXP
* ${x}_exp_enqueue_ext_flags_t
Expand Down Expand Up @@ -78,7 +78,7 @@ Support
--------------------------------------------------------------------------------

Adapters which support this experimental feature *must* return true for the new
``${X}_DEVICE_INFO_LOW_POWER_EVENTS_EXP`` device info query.
``${X}_DEVICE_INFO_LOW_POWER_EVENTS_SUPPORT_EXP`` device info query.


Contributors
Expand Down
6 changes: 3 additions & 3 deletions scripts/core/device.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ etors:
desc: "[uint32_t] address bits"
- name: MAX_MEM_ALLOC_SIZE
desc: "[uint64_t] max memory allocation size"
- name: IMAGE_SUPPORTED
- name: IMAGE_SUPPORT
desc: "[$x_bool_t] images are supported"
- name: MAX_READ_IMAGE_ARGS
desc: "[uint32_t] max number of image objects arguments of a kernel declared with the read_only qualifier"
Expand Down Expand Up @@ -359,7 +359,7 @@ etors:
[$x_device_affinity_domain_flags_t] Returns a bit-field of the supported affinity domains for partitioning.
If the device does not support any affinity domains, then 0 will be returned.
- name: PARTITION_TYPE
desc: "[$x_device_partition_property_t[]] return an array of $x_device_partition_property_t for properties specified in $xDevicePartition"
desc: "[$x_device_partition_property_t[]] returns an array of properties specified in $xDevicePartition"
- name: MAX_NUM_SUB_GROUPS
desc: "[uint32_t] max number of sub groups"
- name: SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS
Expand Down Expand Up @@ -425,7 +425,7 @@ etors:
desc: "[$x_bool_t] return true if Async Barrier is supported"
- name: MEM_CHANNEL_SUPPORT
desc: "[$x_bool_t] return true if specifying memory channels is supported"
- name: HOST_PIPE_READ_WRITE_SUPPORTED
- name: HOST_PIPE_READ_WRITE_SUPPORT
desc: "[$x_bool_t] Return true if the device supports enqueueing commands to read and write pipes from the host."
- name: MAX_REGISTERS_PER_WORK_GROUP
desc: "[uint32_t] The maximum number of registers available per block."
Expand Down
30 changes: 15 additions & 15 deletions scripts/core/exp-bindless-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,33 +86,33 @@ etors:
- name: CUBEMAP_SEAMLESS_FILTERING_SUPPORT_EXP
value: "0x2011"
desc: "[$x_bool_t] returns true if the device supports sampling cubemapped images across face boundaries"
- name: BINDLESS_SAMPLED_IMAGE_FETCH_1D_USM_EXP
- name: BINDLESS_SAMPLED_IMAGE_FETCH_1D_USM_SUPPORT_EXP
value: "0x2012"
desc: "[$x_bool_t] returns true if the device is capable of fetching USM backed 1D sampled image data."
- name: BINDLESS_SAMPLED_IMAGE_FETCH_1D_EXP
desc: "[$x_bool_t] returns true if the device supports fetching USM backed 1D sampled image data."
- name: BINDLESS_SAMPLED_IMAGE_FETCH_1D_SUPPORT_EXP
value: "0x2013"
desc: "[$x_bool_t] returns true if the device is capable of fetching non-USM backed 1D sampled image data."
- name: BINDLESS_SAMPLED_IMAGE_FETCH_2D_USM_EXP
desc: "[$x_bool_t] returns true if the device supports fetching non-USM backed 1D sampled image data."
- name: BINDLESS_SAMPLED_IMAGE_FETCH_2D_USM_SUPPORT_EXP
value: "0x2014"
desc: "[$x_bool_t] returns true if the device is capable of fetching USM backed 2D sampled image data."
- name: BINDLESS_SAMPLED_IMAGE_FETCH_2D_EXP
desc: "[$x_bool_t] returns true if the device supports fetching USM backed 2D sampled image data."
- name: BINDLESS_SAMPLED_IMAGE_FETCH_2D_SUPPORT_EXP
value: "0x2015"
desc: "[$x_bool_t] returns true if the device is capable of fetching non-USM backed 2D sampled image data."
- name: BINDLESS_SAMPLED_IMAGE_FETCH_3D_EXP
desc: "[$x_bool_t] returns true if the device supports fetching non-USM backed 2D sampled image data."
- name: BINDLESS_SAMPLED_IMAGE_FETCH_3D_SUPPORT_EXP
value: "0x2017"
desc: "[$x_bool_t] returns true if the device is capable of fetching non-USM backed 3D sampled image data."
desc: "[$x_bool_t] returns true if the device supports fetching non-USM backed 3D sampled image data."
- name: IMAGE_ARRAY_SUPPORT_EXP
value: "0x2019"
desc: "[$x_bool_t] returns true if the device supports allocating and accessing image array resources."
- name: BINDLESS_UNIQUE_ADDRESSING_PER_DIM_EXP
- name: BINDLESS_UNIQUE_ADDRESSING_PER_DIM_SUPPORT_EXP
value: "0x201A"
desc: "[$x_bool_t] returns true if the device supports unique addressing per dimension."
- name: BINDLESS_SAMPLE_1D_USM_EXP
- name: BINDLESS_SAMPLE_1D_USM_SUPPORT_EXP
value: "0x201B"
desc: "[$x_bool_t] returns true if the device is capable of sampling USM backed 1D sampled image data."
- name: BINDLESS_SAMPLE_2D_USM_EXP
desc: "[$x_bool_t] returns true if the device supports sampling USM backed 1D sampled image data."
- name: BINDLESS_SAMPLE_2D_USM_SUPPORT_EXP
value: "0x201C"
desc: "[$x_bool_t] returns true if the device is capable of sampling USM backed 2D sampled image data."
desc: "[$x_bool_t] returns true if the device supports sampling USM backed 2D sampled image data."
--- #--------------------------------------------------------------------------
type: enum
extend: true
Expand Down
2 changes: 1 addition & 1 deletion scripts/core/exp-launch-properties.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,6 @@ typed_etors: true
desc: "Extension enums to $x_device_info_t to support arch specific launch properties."
name: $x_device_info_t
etors:
- name: CLUSTER_LAUNCH_EXP
- name: CLUSTER_LAUNCH_SUPPORT_EXP
value: "0x1111"
desc: "[$x_bool_t] return true if enqueue Cluster Launch is supported"
2 changes: 1 addition & 1 deletion scripts/core/exp-low-power-events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ typed_etors: true
desc: "Extension enums to $x_device_info_t to support low-power events."
name: $x_device_info_t
etors:
- name: LOW_POWER_EVENTS_EXP
- name: LOW_POWER_EVENTS_SUPPORT_EXP
value: "0x2021"
desc: "[$x_bool_t] returns true if the device supports low-power events."

Expand Down
4 changes: 2 additions & 2 deletions scripts/core/exp-usm-p2p.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class: $xUsmP2P
name: $x_exp_peer_info_t
typed_etors: True
etors:
- name: UR_PEER_ACCESS_SUPPORTED
- name: UR_PEER_ACCESS_SUPPORT
desc: "[int] 1 if P2P access is supported otherwise P2P access is not supported."
- name: UR_PEER_ATOMICS_SUPPORTED
- name: UR_PEER_ATOMICS_SUPPORT
desc: "[int] 1 if atomic operations are supported over the P2P link, otherwise such operations are not supported."
--- #--------------------------------------------------------------------------
type: function
Expand Down
22 changes: 11 additions & 11 deletions source/adapters/cuda/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
case UR_DEVICE_INFO_MAX_MEM_ALLOC_SIZE: {
return ReturnValue(uint64_t{hDevice->getMaxAllocSize()});
}
case UR_DEVICE_INFO_IMAGE_SUPPORTED: {
case UR_DEVICE_INFO_IMAGE_SUPPORT: {
bool Enabled = false;

if (std::getenv("SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT") != nullptr ||
Expand Down Expand Up @@ -910,39 +910,39 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
// CUDA supports cubemap seamless filtering.
return ReturnValue(static_cast<ur_bool_t>(true));
}
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_USM_EXP: {
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_USM_SUPPORT_EXP: {
// CUDA does support fetching 1D USM sampled image data.
return ReturnValue(static_cast<ur_bool_t>(true));
}
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_EXP: {
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_SUPPORT_EXP: {
// CUDA does not support fetching 1D non-USM sampled image data.
return ReturnValue(static_cast<ur_bool_t>(false));
}
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_USM_EXP: {
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_USM_SUPPORT_EXP: {
// CUDA does support fetching 2D USM sampled image data.
return ReturnValue(static_cast<ur_bool_t>(true));
}
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_EXP: {
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_SUPPORT_EXP: {
// CUDA does support fetching 2D non-USM sampled image data.
return ReturnValue(static_cast<ur_bool_t>(true));
}
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_3D_EXP: {
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_3D_SUPPORT_EXP: {
// CUDA does support fetching 3D non-USM sampled image data.
return ReturnValue(static_cast<ur_bool_t>(true));
}
case UR_DEVICE_INFO_IMAGE_ARRAY_SUPPORT_EXP: {
// CUDA does support image arrays
return ReturnValue(static_cast<ur_bool_t>(true));
}
case UR_DEVICE_INFO_BINDLESS_UNIQUE_ADDRESSING_PER_DIM_EXP: {
case UR_DEVICE_INFO_BINDLESS_UNIQUE_ADDRESSING_PER_DIM_SUPPORT_EXP: {
// CUDA does support unique addressing per dimension
return ReturnValue(static_cast<ur_bool_t>(true));
}
case UR_DEVICE_INFO_BINDLESS_SAMPLE_1D_USM_EXP: {
case UR_DEVICE_INFO_BINDLESS_SAMPLE_1D_USM_SUPPORT_EXP: {
// CUDA does not support sampling 1D USM sampled image data.
return ReturnValue(static_cast<ur_bool_t>(false));
}
case UR_DEVICE_INFO_BINDLESS_SAMPLE_2D_USM_EXP: {
case UR_DEVICE_INFO_BINDLESS_SAMPLE_2D_USM_SUPPORT_EXP: {
// CUDA does support sampling 1D USM sampled image data.
return ReturnValue(static_cast<ur_bool_t>(true));
}
Expand Down Expand Up @@ -1068,7 +1068,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
case UR_DEVICE_INFO_KERNEL_SET_SPECIALIZATION_CONSTANTS:
return ReturnValue(static_cast<ur_bool_t>(false));
// TODO: Investigate if this information is available on CUDA.
case UR_DEVICE_INFO_HOST_PIPE_READ_WRITE_SUPPORTED:
case UR_DEVICE_INFO_HOST_PIPE_READ_WRITE_SUPPORT:
return ReturnValue(static_cast<ur_bool_t>(false));
case UR_DEVICE_INFO_VIRTUAL_MEMORY_SUPPORT:
return ReturnValue(static_cast<ur_bool_t>(true));
Expand Down Expand Up @@ -1109,7 +1109,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR) >= 9;
return ReturnValue(static_cast<bool>(Value));
}
case UR_DEVICE_INFO_LOW_POWER_EVENTS_EXP:
case UR_DEVICE_INFO_LOW_POWER_EVENTS_SUPPORT_EXP:
return ReturnValue(false);
default:
break;
Expand Down
6 changes: 3 additions & 3 deletions source/adapters/hip/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,

return ReturnValue(uint64_t{MaxAlloc});
}
case UR_DEVICE_INFO_IMAGE_SUPPORTED: {
case UR_DEVICE_INFO_IMAGE_SUPPORT: {
bool Enabled = false;

if (std::getenv("UR_HIP_ENABLE_IMAGE_SUPPORT") != nullptr) {
Expand Down Expand Up @@ -887,7 +887,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
return ReturnValue(AddressBuffer,
strnlen(AddressBuffer, AddressBufferSize - 1) + 1);
}
case UR_DEVICE_INFO_HOST_PIPE_READ_WRITE_SUPPORTED:
case UR_DEVICE_INFO_HOST_PIPE_READ_WRITE_SUPPORT:
return ReturnValue(ur_bool_t{false});
case UR_DEVICE_INFO_VIRTUAL_MEMORY_SUPPORT:
return ReturnValue(ur_bool_t{false});
Expand Down Expand Up @@ -951,7 +951,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
}
case UR_DEVICE_INFO_COMMAND_BUFFER_EVENT_SUPPORT_EXP:
return ReturnValue(false);
case UR_DEVICE_INFO_LOW_POWER_EVENTS_EXP: {
case UR_DEVICE_INFO_LOW_POWER_EVENTS_SUPPORT_EXP: {
return ReturnValue(false);
}
default:
Expand Down
20 changes: 10 additions & 10 deletions source/adapters/level_zero/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ ur_result_t urDeviceGetInfo(
case UR_DEVICE_INFO_LOCAL_MEM_SIZE:
return ReturnValue(
uint64_t{Device->ZeDeviceComputeProperties->maxSharedLocalMemory});
case UR_DEVICE_INFO_IMAGE_SUPPORTED:
case UR_DEVICE_INFO_IMAGE_SUPPORT:
return ReturnValue(Device->ZeDeviceImageProperties->maxImageDims1D > 0);
case UR_DEVICE_INFO_HOST_UNIFIED_MEMORY:
return ReturnValue(
Expand Down Expand Up @@ -485,7 +485,7 @@ ur_result_t urDeviceGetInfo(
case UR_DEVICE_INFO_BUILT_IN_KERNELS:
// TODO: To find out correct value
return ReturnValue("");
case UR_DEVICE_INFO_LOW_POWER_EVENTS_EXP:
case UR_DEVICE_INFO_LOW_POWER_EVENTS_SUPPORT_EXP:
return ReturnValue(static_cast<ur_bool_t>(true));
case UR_DEVICE_INFO_QUEUE_PROPERTIES:
return ReturnValue(
Expand Down Expand Up @@ -1115,39 +1115,39 @@ ur_result_t urDeviceGetInfo(
// L0 does not support cubemap seamless filtering.
return ReturnValue(false);
}
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_USM_EXP: {
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_USM_SUPPORT_EXP: {
// L0 does not support fetching 1D USM sampled image data.
return ReturnValue(false);
}
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_EXP: {
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_1D_SUPPORT_EXP: {
// L0 does not not support fetching 1D non-USM sampled image data.
return ReturnValue(false);
}
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_USM_EXP: {
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_USM_SUPPORT_EXP: {
// L0 does not support fetching 2D USM sampled image data.
return ReturnValue(false);
}
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_EXP: {
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_2D_SUPPORT_EXP: {
// L0 does not support fetching 2D non-USM sampled image data.
return ReturnValue(false);
}
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_3D_EXP: {
case UR_DEVICE_INFO_BINDLESS_SAMPLED_IMAGE_FETCH_3D_SUPPORT_EXP: {
// L0 does not support fetching 3D non-USM sampled image data.
return ReturnValue(false);
}
case UR_DEVICE_INFO_IMAGE_ARRAY_SUPPORT_EXP: {
// L0 does not support image arrays
return ReturnValue(false);
}
case UR_DEVICE_INFO_BINDLESS_UNIQUE_ADDRESSING_PER_DIM_EXP: {
case UR_DEVICE_INFO_BINDLESS_UNIQUE_ADDRESSING_PER_DIM_SUPPORT_EXP: {
// L0 does not support unique addressing per dimension
return ReturnValue(false);
}
case UR_DEVICE_INFO_BINDLESS_SAMPLE_1D_USM_EXP: {
case UR_DEVICE_INFO_BINDLESS_SAMPLE_1D_USM_SUPPORT_EXP: {
// L0 does not support sampling 1D USM sampled image data.
return ReturnValue(false);
}
case UR_DEVICE_INFO_BINDLESS_SAMPLE_2D_USM_EXP: {
case UR_DEVICE_INFO_BINDLESS_SAMPLE_2D_USM_SUPPORT_EXP: {
// L0 does not support sampling 1D USM sampled image data.
return ReturnValue(false);
}
Expand Down
4 changes: 2 additions & 2 deletions source/adapters/native_cpu/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
return ReturnValue(hDevice->Platform);
case UR_DEVICE_INFO_NAME:
return ReturnValue("SYCL Native CPU");
case UR_DEVICE_INFO_IMAGE_SUPPORTED:
case UR_DEVICE_INFO_IMAGE_SUPPORT:
return ReturnValue(bool{false});
case UR_DEVICE_INFO_DRIVER_VERSION:
return ReturnValue("0.0.0");
Expand Down Expand Up @@ -420,7 +420,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
case UR_DEVICE_INFO_USM_POOL_SUPPORT:
return ReturnValue(false);

case UR_DEVICE_INFO_LOW_POWER_EVENTS_EXP:
case UR_DEVICE_INFO_LOW_POWER_EVENTS_SUPPORT_EXP:
return ReturnValue(false);
default:
DIE_NO_IMPLEMENTATION;
Expand Down
Loading

0 comments on commit 00d3b91

Please sign in to comment.