mirror of
https://github.com/fumiama/gozel.git
synced 2026-06-06 08:50:24 +08:00
fix(examples): some platform not support double
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include <sycl/sycl.hpp>
|
||||
|
||||
extern "C" SYCL_EXTERNAL
|
||||
void vector_add(double* a, double* b) {
|
||||
void vector_add(float* a, float* b) {
|
||||
auto item = sycl::ext::oneapi::this_work_item::get_nd_item<1>();
|
||||
int idx = item.get_global_id(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user