Peano
Loading...
Searching...
No Matches
Device.h
Go to the documentation of this file.
1// This file is part of the Peano project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5
6#include "config.h"
7
8
123#if defined(GPUOffloadingSYCL) or defined(SharedSYCL)
124
125#pragma push_macro("Dimensions")
126#pragma push_macro("assertion")
127#undef Dimensions
128#undef assertion
129#include <CL/sycl.hpp>
130#pragma pop_macro("Dimensions")
131#pragma pop_macro("assertion")
132
133#include <set>
134
135namespace tarch {
136 namespace accelerator {
171 sycl::queue& getSYCLQueue( int number );
172
178 void listSYCLQueues();
179 }
180}
181
182#endif
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
Definition accelerator.h:19