Skip to content

Commit

Permalink
Check right migration for dpct::device_ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
the-slow-one committed Sep 2, 2024
1 parent e5e48fd commit 24046a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/test/dpct/cu_mem_alloc_typedef.cu
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

typedef uint64_t CUdeviceptr;

// CHECK: void foo(dpct::device_ptr ptr) {
void foo(CUdeviceptr ptr) {
// CHECK: ptr = (dpct::device_ptr)sycl::malloc_device(1024, dpct::get_in_order_queue());
cuMemAlloc(&ptr, 1024);
Expand Down

0 comments on commit 24046a6

Please sign in to comment.