1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-12-21 13:14:29 +00:00

Level 0 IPC set up

This commit is contained in:
peterx.a.boyle
2021-08-10 05:35:15 -07:00
parent 29a22ae603
commit 50181f16e5
3 changed files with 62 additions and 6 deletions

View File

@@ -233,6 +233,13 @@ inline int acceleratorIsCommunicable(void *ptr)
NAMESPACE_END(Grid);
#include <CL/sycl.hpp>
#include <CL/sycl/usm.hpp>
#define GRID_SYCL_LEVEL_ZERO_IPC
#ifdef GRID_SYCL_LEVEL_ZERO_IPC
#include <level_zero/ze_api.h>
#include <CL/sycl/backend/level_zero.hpp>
#endif
NAMESPACE_BEGIN(Grid);
extern cl::sycl::queue *theGridAccelerator;