File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ int main() {
223
223
myQueue.submit ([&](s::handler &cgh) {
224
224
auto AccR = BufR.get_access <s::access::mode::write>(cgh);
225
225
cgh.single_task <class ctzSI1 >(
226
- [=]() { AccR[0 ] = s::intel:: ctz (0x7FFFFFF0 ); });
226
+ [=]() { AccR[0 ] = s::ctz (0x7FFFFFF0 ); });
227
227
});
228
228
}
229
229
assert (r == 4 );
Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ int main() {
385
385
myQueue.submit ([&](s::handler &cgh) {
386
386
auto AccR = BufR.get_access <s::access::mode::write>(cgh);
387
387
cgh.single_task <class ctzSI2 >([=]() {
388
- AccR[0 ] = s::intel:: ctz (s::int2{0x7FFFFFF0 , 0x7FFFFFF0 });
388
+ AccR[0 ] = s::ctz (s::int2{0x7FFFFFF0 , 0x7FFFFFF0 });
389
389
});
390
390
});
391
391
}
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ USM_TEST_RES kernel_test_memcpy_usm(sycl::queue &deviceQueue) {
66
66
if (usm_shared_dest == nullptr || usm_shared_src == nullptr )
67
67
return USM_ALLOC_FAIL;
68
68
// Init src usm memory
69
- char *host_init_str = " abcdefghijklmnopqrstuvwxyz" ;
69
+ const char *host_init_str = " abcdefghijklmnopqrstuvwxyz" ;
70
70
size_t str_len = strlen (host_init_str);
71
71
deviceQueue
72
72
.submit ([&](sycl::handler &cgh) {
You can’t perform that action at this time.
0 commit comments