Skip to content

Commit

Permalink
Fixup: sycl::opencl::
Browse files Browse the repository at this point in the history
  • Loading branch information
fknorr committed Sep 16, 2024
1 parent f78de65 commit e5b70f4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions tests/accessor_legacy/accessor_types_image_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ class check_all_types_image_core {
return;

const auto types =
named_type_pack<sycl::opencl::cl_int4,
sycl::opencl::cl_uint4,
sycl::opencl::cl_float4,
named_type_pack<sycl::cl_int4,
sycl::cl_uint4,
sycl::cl_float4,
user_alias>::generate(
"sycl::opencl::cl_int",
"sycl::opencl::cl_uint",
Expand Down
2 changes: 1 addition & 1 deletion tests/accessor_legacy/accessor_types_image_fp16.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class check_all_types_image_fp16 {
if (!availability::check(queue, log))
return;

check_type<sycl::opencl::cl_half4>()(log, queue, "sycl::opencl::cl_half");
check_type<sycl::cl_half4>()(log, queue, "sycl::opencl::cl_half");

queue.wait_and_throw();
}
Expand Down
8 changes: 4 additions & 4 deletions tests/common/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,8 @@ struct image_access<1> {
*/
template <>
struct image_access<2> {
using int_type = sycl::opencl::cl_int2;
using float_type = sycl::opencl::cl_float2;
using int_type = sycl::cl_int2;
using float_type = sycl::cl_float2;
static int_type get_int(const sycl::id<2>& i) {
return int_type(i.get(0), i.get(1));
}
Expand Down Expand Up @@ -503,8 +503,8 @@ struct image_access<2> {
*/
template <>
struct image_access<3> {
using int_type = sycl::opencl::cl_int4;
using float_type = sycl::opencl::cl_float4;
using int_type = sycl::cl_int4;
using float_type = sycl::cl_float4;
static int_type get_int(const sycl::id<3>& i) {
return int_type(i.get(0), i.get(1), i.get(2), 0);
}
Expand Down

0 comments on commit e5b70f4

Please sign in to comment.