You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#include <sycl.hpp>
int main() {
auto host_task = sycl::target::host_task;
}
To build: clang++ -fsycl ./sample_host_task_target.cpp -o sample
Output:
./sample_host_task_target.cpp:4:34: error: no member named 'host_task' in 'sycl::access::target'
auto host_task = sycl::target::host_task;
~~~~~~~~~~~~~~^
1 error generated.
In SYCL 2020 sycl::target::host_task is introduced (4.7.6.9. Buffer accessor for commands) but not implemented.
To Reproduce
To build:
clang++ -fsycl ./sample_host_task_target.cpp -o sample
Output:
Environment details
Compiler version: from container d82412764b4f228f29c518e4407a87c68e8652dc
The text was updated successfully, but these errors were encountered: