mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-15 02:05:37 +00:00
New software stack
This commit is contained in:
parent
9fa8bd6438
commit
7dcfb13694
@ -55,10 +55,10 @@ NAMESPACE_BEGIN(Grid);
|
|||||||
typedef cublasHandle_t gridblasHandle_t;
|
typedef cublasHandle_t gridblasHandle_t;
|
||||||
#endif
|
#endif
|
||||||
#ifdef GRID_SYCL
|
#ifdef GRID_SYCL
|
||||||
typedef cl::sycl::queue *gridblasHandle_t;
|
typedef sycl::queue *gridblasHandle_t;
|
||||||
#endif
|
#endif
|
||||||
#ifdef GRID_ONE_MKL
|
#ifdef GRID_ONE_MKL
|
||||||
typedef cl::sycl::queue *gridblasHandle_t;
|
typedef sycl::queue *gridblasHandle_t;
|
||||||
#endif
|
#endif
|
||||||
#if !defined(GRID_SYCL) && !defined(GRID_CUDA) && !defined(GRID_HIP) && !defined(GRID_ONE_MKL)
|
#if !defined(GRID_SYCL) && !defined(GRID_CUDA) && !defined(GRID_HIP) && !defined(GRID_ONE_MKL)
|
||||||
typedef int32_t gridblasHandle_t;
|
typedef int32_t gridblasHandle_t;
|
||||||
@ -89,9 +89,9 @@ public:
|
|||||||
gridblasHandle = theGridAccelerator;
|
gridblasHandle = theGridAccelerator;
|
||||||
#endif
|
#endif
|
||||||
#ifdef GRID_ONE_MKL
|
#ifdef GRID_ONE_MKL
|
||||||
cl::sycl::gpu_selector selector;
|
sycl::gpu_selector selector;
|
||||||
cl::sycl::device selectedDevice { selector };
|
sycl::device selectedDevice { selector };
|
||||||
cl::sycl::property_list q_prop{cl::sycl::property::queue::in_order()};
|
sycl::property_list q_prop{sycl::property::queue::in_order()};
|
||||||
gridblasHandle =new sycl::queue (selectedDevice,q_prop);
|
gridblasHandle =new sycl::queue (selectedDevice,q_prop);
|
||||||
#endif
|
#endif
|
||||||
gridblasInit=1;
|
gridblasInit=1;
|
||||||
|
Loading…
Reference in New Issue
Block a user