We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11dba6b commit bbde102Copy full SHA for bbde102
sycl/test-e2e/VirtualFunctions/vf-optional-kernel-features.cpp
@@ -29,7 +29,7 @@ int main() {
29
// Selected device may not support 'fp64' aspect
30
sycl::queue Q;
31
32
- Base *Obj = sycl::malloc_device<Base>(1, Q);
+ Base *Obj = sycl::malloc_shared<Base>(1, Q);
33
34
Q.single_task<Constructor>([=]() {
35
// Even though at LLVM IR level this kernel does reference 'Base::foo'
0 commit comments