Skip to content

Commit 26bb841

Browse files
committed
fix
Signed-off-by: intwanghao <hao3.wang@intel.com>
1 parent cd009c9 commit 26bb841

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

clang/test/dpct/cub/blocklevel/blockradixsort.cu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ __global__ void test_unsupported(int *data) {
194194
template <typename T, int N>
195195
void print_array(T (&arr)[N]) {
196196
for (int i = 0; i < N; ++i) {
197-
std::cout << arr[i] << (i == N - 1 ? '\n' : ',');
197+
std::cout << (int)arr[i] << (i == N - 1 ? '\n' : ',');
198198
}
199199
}
200200

@@ -253,7 +253,7 @@ bool test_sorthalf() {
253253
// CHECK-NEXT: cgh.parallel_for(
254254
// CHECK-NEXT: sycl::nd_range<3>(sycl::range<3>(1, 1, 128), sycl::range<3>(1, 1, 128)),
255255
// CHECK-NEXT: [=](sycl::nd_item<3> item_ct1) {
256-
// CHECK-NEXT: SortHalf(d_data, item_ct1, &temp_storage_load_acc[0], &temp_storage_store_acc[0], &temp_storage_acc[0]);
256+
// CHECK-NEXT: SortHalf(d_data, &temp_storage_load_acc[0], &temp_storage_store_acc[0], &temp_storage_acc[0]);
257257
// CHECK-NEXT: });
258258
// CHECK-NEXT: });
259259
SortHalf<<<1, 128>>>(d_data);

0 commit comments

Comments
 (0)