diff options
author | Pasha <pasha@member.fsf.org> | 2022-10-25 18:48:39 +0000 |
---|---|---|
committer | Pasha <pasha@member.fsf.org> | 2022-10-25 18:48:39 +0000 |
commit | 4550eacc18535ea8480c8303c62adbd046fa031d (patch) | |
tree | 39c850531e37a9ae6d390ac35cf21a6029d5b5e7 /simplex-dev/src/kernel.hpp | |
download | oneapi-4550eacc18535ea8480c8303c62adbd046fa031d.tar.gz oneapi-4550eacc18535ea8480c8303c62adbd046fa031d.tar.bz2 |
initial test
Diffstat (limited to 'simplex-dev/src/kernel.hpp')
-rwxr-xr-x | simplex-dev/src/kernel.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/simplex-dev/src/kernel.hpp b/simplex-dev/src/kernel.hpp new file mode 100755 index 0000000..77b8ca7 --- /dev/null +++ b/simplex-dev/src/kernel.hpp @@ -0,0 +1,13 @@ +//============================================================== +// Copyright Intel Corporation +// +// SPDX-License-Identifier: MIT +// ============================================================= +#include <CL/sycl.hpp> + +using namespace sycl; + +typedef float T; + +double RunKernel(queue &q, std::vector<T> &inAHost, std::vector<T> &inBHost, + std::vector<T> &inCHost, std::vector<int>& resultFlags); |