Skip to content

Commit cf5782e

Browse files
authored
[SYCLomatic] Fix one query API mapping lit fail
Signed-off-by: Chen, Sheng S <sheng.s.chen@intel.com>
2 parents c92b42a + 788da5e commit cf5782e

File tree

1 file changed

+2
-2
lines changed
  • clang/test/dpct/query_api_mapping/Driver

1 file changed

+2
-2
lines changed

clang/test/dpct/query_api_mapping/Driver/test.cu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@
573573

574574
// RUN: dpct --cuda-include-path="%cuda-path/include" --query-api-mapping=cuMipmappedArrayGetLevel | FileCheck %s -check-prefix=CUMIPMAPPEDARRAYGETLEVEL
575575
// CUMIPMAPPEDARRAYGETLEVEL: CUDA API:
576-
// CUMIPMAPPEDARRAYGETLEVEL-NEXT: cuMipmappedArrayGetLevel(&level_arr/*CUarray*/, mmArray/*CUmipmappedArray*/, 1/*level*/);
576+
// CUMIPMAPPEDARRAYGETLEVEL-NEXT: cuMipmappedArrayGetLevel(&level_arr/*CUarray **/, mmArray/*CUmipmappedArray*/, 1/*unsigned int*/);
577577
// CUMIPMAPPEDARRAYGETLEVEL-NEXT: Is migrated to (with the option --use-experimental-features=bindless_images):
578578
// CUMIPMAPPEDARRAYGETLEVEL-NEXT: level_arr = mmArray->get_mip_level(1);
579579

@@ -591,7 +591,7 @@
591591

592592
// RUN: dpct --cuda-include-path="%cuda-path/include" --query-api-mapping=cuTexRefGetArray | FileCheck %s -check-prefix=CUTEXREFGETARRAY
593593
// CUTEXREFGETARRAY: CUDA API:
594-
// CUTEXREFGETARRAY-NEXT: cuTexRefGetArray(phArray /*CUarray **/, hTexRef /*CUtexref*/);
594+
// CUTEXREFGETARRAY-NEXT: cuTexRefGetArray(&a/*CUarray **/, r/*CUtexref*/);
595595
// CUTEXREFGETARRAY-NEXT: Is migrated to (with the option --use-experimental-features=bindless_images):
596596
// CUTEXREFGETARRAY-NEXT: a = dpct::experimental::get_img_mem(r);
597597

0 commit comments

Comments
 (0)