Skip to content

Commit aaa1d81

Browse files
committed
Experimental change to make sure cuda + hip tests are actually running.
1 parent bdfc571 commit aaa1d81

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

source/adapters/cuda/device.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -563,9 +563,9 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
563563
return ReturnValue(
564564
ur_queue_flag_t(UR_QUEUE_FLAG_OUT_OF_ORDER_EXEC_MODE_ENABLE |
565565
UR_QUEUE_FLAG_PROFILING_ENABLE));
566-
case UR_DEVICE_INFO_QUEUE_ON_DEVICE_PROPERTIES: {
567-
return ReturnValue(0);
568-
}
566+
/* case UR_DEVICE_INFO_QUEUE_ON_DEVICE_PROPERTIES: {
567+
return ReturnValue(0);
568+
}*/
569569
case UR_DEVICE_INFO_QUEUE_ON_HOST_PROPERTIES: {
570570
// The mandated minimum capability:
571571
ur_queue_flags_t Capability = UR_QUEUE_FLAG_PROFILING_ENABLE;

source/adapters/hip/device.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -489,10 +489,10 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
489489
auto Capability = ur_device_exec_capability_flags_t{
490490
UR_DEVICE_EXEC_CAPABILITY_FLAG_KERNEL};
491491
return ReturnValue(Capability);
492-
}
493-
case UR_DEVICE_INFO_QUEUE_ON_DEVICE_PROPERTIES: {
494-
return ReturnValue(0);
495-
}
492+
} /*
493+
case UR_DEVICE_INFO_QUEUE_ON_DEVICE_PROPERTIES: {
494+
return ReturnValue(0);
495+
}*/
496496
case UR_DEVICE_INFO_QUEUE_ON_HOST_PROPERTIES:
497497
case UR_DEVICE_INFO_QUEUE_PROPERTIES: {
498498
// The mandated minimum capability:

0 commit comments

Comments
 (0)