Skip to content

Commit cc781fc

Browse files
authored
[SYCL] Fix build failure caused by cl namespace usage (#6579)
1 parent cb190fc commit cc781fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/plugins/hip/pi_hip.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1772,8 +1772,8 @@ pi_result hip_piDeviceGetInfo(pi_device device, pi_device_info param_name,
17721772
case PI_DEVICE_INFO_ATOMIC_64: {
17731773
// TODO: Reconsider it when AMD supports SYCL_USE_NATIVE_FP_ATOMICS.
17741774
hipDeviceProp_t props;
1775-
cl::sycl::detail::pi::assertion(
1776-
hipGetDeviceProperties(&props, device->get()) == hipSuccess);
1775+
sycl::detail::pi::assertion(hipGetDeviceProperties(&props, device->get()) ==
1776+
hipSuccess);
17771777
return getInfo(param_value_size, param_value, param_value_size_ret,
17781778
props.arch.hasGlobalInt64Atomics &&
17791779
props.arch.hasSharedInt64Atomics);

0 commit comments

Comments
 (0)