Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooBatchComputeTypes.h
Go to the documentation of this file.
1/*
2 * Project: RooFit
3 * Authors:
4 * Emmanouil Michalainas, CERN 6 January 2021
5 *
6 * Copyright (c) 2021, CERN
7 *
8 * Redistribution and use in source and binary forms,
9 * with or without modification, are permitted according to the terms
10 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)
11 */
12
13#ifndef ROOFIT_BATCHCOMPUTE_ROOBATCHCOMPUTETYPES_H
14#define ROOFIT_BATCHCOMPUTE_ROOBATCHCOMPUTETYPES_H
15
16
17#ifdef __CUDACC__
18#define __roodevice__ __device__
19#define __roohost__ __host__
20#define __rooglobal__ __global__
21#else
22#define __roodevice__
23#define __roohost__
24#define __rooglobal__
25#endif // #indef __CUDACC__
26
27#endif