Skip to content

Commit

Permalink
[SYCLomatic] Fix thrust::device_reference lit test (#350)
Browse files Browse the repository at this point in the history
Signed-off-by: Cai, Justin <justin.cai@intel.com>
  • Loading branch information
jzc authored Nov 11, 2022
1 parent 1135c43 commit 8cdea07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/test/dpct/test_api_level/DplExtrasMemory/api_test11.cu
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// UNSUPPORTED: cuda-8.0
// UNSUPPORTED: v8.0
// RUN: dpct --format-range=none --usm-level=none --use-custom-helper=api -out-root %T/DplExtrasMemory/api_test11_out %s --cuda-include-path="%cuda-path/include" -- -x cuda --cuda-host-only -std=c++17
// RUN: dpct --format-range=none --usm-level=none --use-custom-helper=api -out-root %T/DplExtrasMemory/api_test11_out %s --cuda-include-path="%cuda-path/include" -- -x cuda --cuda-host-only -std=c++17 -fsized-deallocation
// RUN: grep "IsCalled" %T/DplExtrasMemory/api_test11_out/MainSourceFiles.yaml | wc -l > %T/DplExtrasMemory/api_test11_out/count.txt
// RUN: FileCheck --input-file %T/DplExtrasMemory/api_test11_out/count.txt --match-full-lines %s
// RUN: rm -rf %T/DplExtrasMemory/api_test11_out

// CHECK: 37
// CHECK: 38
// TEST_FEATURE: DplExtrasMemory_device_reference


Expand Down

0 comments on commit 8cdea07

Please sign in to comment.