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

Commit b82c649

Browse files
add %opencl_lib and remove clang-format off/on
1 parent b7a7083 commit b82c649

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

SYCL/Plugin/interop-level-zero-interop-task-mem.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44

55
// Test for Level Zero interop_task.
66

7-
#include <CL/sycl.hpp>
8-
// clang-format off
7+
// Level-Zero
98
#include <level_zero/ze_api.h>
9+
10+
// SYCL
11+
#include <CL/sycl.hpp>
1012
#include <CL/sycl/backend/level_zero.hpp>
11-
// clang-format on
1213

1314
using namespace sycl;
1415

SYCL/Plugin/interop-opencl-interop-task-mem.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: opencl, opencl_icd
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
3+
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out %opencl_lib
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55

66
// Test for OpenCL interop_task.

0 commit comments

Comments
 (0)