Skip to content

Commit a3895db

Browse files
authored
Merge pull request #1604 from kbenzie/benie/hip-kernel-spec-constants
[HIP] Implement kernel set spec constant query
2 parents 30c5c55 + 67338db commit a3895db

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/adapters/hip/device.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,10 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
761761
return ReturnValue(int32_t{1});
762762
}
763763

764+
case UR_DEVICE_INFO_KERNEL_SET_SPECIALIZATION_CONSTANTS: {
765+
return ReturnValue(ur_bool_t{false});
766+
}
767+
764768
case UR_DEVICE_INFO_ATOMIC_MEMORY_ORDER_CAPABILITIES: {
765769
ur_memory_order_capability_flags_t Capabilities =
766770
UR_MEMORY_ORDER_CAPABILITY_FLAG_RELAXED |

test/conformance/kernel/kernel_adapter_hip.match

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,3 @@ urKernelSetArgMemObjTest.InvalidKernelArgumentIndex/AMD_HIP_BACKEND___{{.*}}_
1212
urKernelSetArgPointerNegativeTest.InvalidKernelArgumentIndex/AMD_HIP_BACKEND___{{.*}}_
1313
urKernelSetArgValueTest.InvalidKernelArgumentIndex/AMD_HIP_BACKEND___{{.*}}_
1414
urKernelSetArgValueTest.InvalidKernelArgumentSize/AMD_HIP_BACKEND___{{.*}}_
15-
urKernelSetSpecializationConstantsTest.Success/AMD_HIP_BACKEND___{{.*}}_
16-
urKernelSetSpecializationConstantsTest.InvalidNullHandleKernel/AMD_HIP_BACKEND___{{.*}}_
17-
urKernelSetSpecializationConstantsTest.InvalidNullPointerSpecConstants/AMD_HIP_BACKEND___{{.*}}_
18-
urKernelSetSpecializationConstantsTest.InvalidSizeCount/AMD_HIP_BACKEND___{{.*}}_

0 commit comments

Comments
 (0)