I am new to intel-oneapi
, I followed intel's instructions to install oneApi on Ubuntu 20.04.
I successfully compiled vector-add
example. Unfortunately, during runtime I get the following exception:
pi_die: CUDA support was not enabled at compilation time
terminate called without an active exception
Aborted (core dumped)
Do I need special flags to run it on nvidia GPU? when I switch sycl::default_selector
to sycl::cpu_selector
then code is executed without exception.