Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 3eb2c2a

Browse files
[ESIMD] Check that DPCPP RT provide -vc-codegen automatically (#110)
1 parent 2a370e0 commit 3eb2c2a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

SYCL/ESIMD/vadd_1d.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// REQUIRES: gpu
99
// UNSUPPORTED: cuda
1010
// RUN: %clangxx-esimd -fsycl %s -o %t.out
11-
// RUN: %ESIMD_RUN_PLACEHOLDER %t.out
11+
// RUN: env SYCL_PI_TRACE=-1 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
1212

1313
#include "esimd_test_utils.hpp"
1414

@@ -95,3 +95,7 @@ int main(void) {
9595
std::cout << (err_cnt > 0 ? "FAILED\n" : "Passed\n");
9696
return err_cnt > 0 ? 1 : 0;
9797
}
98+
99+
// CHECK: ---> piProgramBuild(
100+
// CHECK: <const char *>: -vc-codegen
101+
// CHECK: ) ---> pi_result : PI_SUCCESS

0 commit comments

Comments
 (0)