ROOT
master
Reference Guide
Loading...
Searching...
No Matches
AccHeaders.h
Go to the documentation of this file.
1
#ifndef ROOT_AccHeaders_H
2
#define ROOT_AccHeaders_H
3
4
#if defined(ROOT_MATH_SYCL)
5
6
#include <sycl/sycl.hpp>
7
#ifndef ROOT_MATH_ARCH
8
#define ROOT_MATH_ARCH MathSYCL
9
#endif
// ROOT_MATH_ARCH
10
11
#elif defined(ROOT_MATH_CUDA)
12
13
#include <math.h>
14
#ifndef ROOT_MATH_ARCH
15
#define ROOT_MATH_ARCH MathCUDA
16
#endif
// ROOT_MATH_ARCH
17
18
#else
19
20
#include <cmath>
21
#ifndef ROOT_MATH_ARCH
22
#define ROOT_MATH_ARCH Math
23
#endif
// ROOT_MATH_ARCH
24
25
#endif
26
27
#if defined(ROOT_MATH_CUDA) && defined(__CUDACC__)
28
29
#define __roodevice__ __device__
30
#define __roohost__ __host__
31
#define __rooglobal__ __global__
32
33
#else
34
35
#define __roodevice__
36
#define __roohost__
37
#define __rooglobal__
38
39
#endif
40
41
#endif
// ROOT_AccHeaders_H
math
experimental
genvectorx
inc
MathX
GenVectorX
AccHeaders.h
ROOT master - Reference Guide Generated on Thu Sep 18 2025 04:29:15 (GVA Time) using Doxygen 1.10.0