Skip to content

Commit d44731c

Browse files
Fix test compilation for real
1 parent 2f29f84 commit d44731c

File tree

1 file changed

+5
-3
lines changed
  • sycl/test-e2e/DeviceImageDependencies/Inputs

1 file changed

+5
-3
lines changed

sycl/test-e2e/DeviceImageDependencies/Inputs/basic.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
#include "a.hpp"
2-
#include <iostream>
2+
33
#include <sycl/detail/core.hpp>
4+
#include <sycl/kernel_bundle.hpp>
45

56
#include <cassert>
7+
#include <iostream>
68
#include <functional>
79

810
using namespace sycl;
@@ -28,7 +30,7 @@ int main() {
2830
});
2931
runTest(q, [](queue &q, buffer<int, 1> &buf) {
3032
kernel_bundle KB = get_kernel_bundle<sycl::bundle_state::executable>(
31-
q.get_context(), {sycl::get_kernel_id<Kernel<2>>()});
33+
q.get_context(), {get_kernel_id<Kernel<2>>()});
3234
q.submit([&](handler &cgh) {
3335
auto acc = buf.get_access(cgh);
3436
cgh.use_kernel_bundle(KB);
@@ -37,7 +39,7 @@ int main() {
3739
});
3840
runTest(q, [](queue &q, buffer<int, 1> &buf) {
3941
kernel_bundle KBInput = get_kernel_bundle<sycl::bundle_state::input>(
40-
q.get_context(), {sycl::get_kernel_id<Kernel<3>>()});
42+
q.get_context(), {get_kernel_id<Kernel<3>>()});
4143
kernel_bundle KBObject = compile(KBInput);
4244
kernel_bundle KBLinked = link(KBObject);
4345
q.submit([&](handler &cgh) {

0 commit comments

Comments
 (0)