File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
clang/test/dpct/query_api_mapping/Driver Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 573
573
574
574
// RUN: dpct --cuda-include-path="%cuda-path/include" --query-api-mapping=cuMipmappedArrayGetLevel | FileCheck %s -check-prefix=CUMIPMAPPEDARRAYGETLEVEL
575
575
// 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 */);
577
577
// CUMIPMAPPEDARRAYGETLEVEL-NEXT: Is migrated to (with the option --use-experimental-features=bindless_images):
578
578
// CUMIPMAPPEDARRAYGETLEVEL-NEXT: level_arr = mmArray->get_mip_level(1);
579
579
591
591
592
592
// RUN: dpct --cuda-include-path="%cuda-path/include" --query-api-mapping=cuTexRefGetArray | FileCheck %s -check-prefix=CUTEXREFGETARRAY
593
593
// CUTEXREFGETARRAY: CUDA API:
594
- // CUTEXREFGETARRAY-NEXT: cuTexRefGetArray(phArray /*CUarray **/, hTexRef /*CUtexref*/);
594
+ // CUTEXREFGETARRAY-NEXT: cuTexRefGetArray(&a /*CUarray **/, r /*CUtexref*/);
595
595
// CUTEXREFGETARRAY-NEXT: Is migrated to (with the option --use-experimental-features=bindless_images):
596
596
// CUTEXREFGETARRAY-NEXT: a = dpct::experimental::get_img_mem(r);
597
597
You can’t perform that action at this time.
0 commit comments