我是新手intel-oneapi
,我按照英特尔的说明在 Ubuntu 20.04 上安装了 oneApi。
我成功编译了vector-add
示例。不幸的是,在运行时我得到以下异常:
pi_die: CUDA support was not enabled at compilation time
terminate called without an active exception
Aborted (core dumped)
我需要特殊标志才能在 nvidia GPU 上运行它吗?当我切换sycl::default_selector
到sycl::cpu_selector
then 代码将毫无例外地执行。