Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
Cuda.cu
Go to the documentation of this file.
1// @(#)root/tmva/tmva/dnn:$Id$
2// Author: Simon Pfreundschuh 10/07/16
3
4/*************************************************************************
5 * Copyright (C) 2016, Simon Pfreundschuh *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12/////////////////////////////////////////////////////////////////
13// Explicit instantiation of the TCuda architecture class with //
14// for Double_t and Float_t floating point types. //
15/////////////////////////////////////////////////////////////////
16
17// in case we compile C++ code with std-17 and cuda with lower standard
18// use experimental string_view, otherwise keep as is
19#include "RConfigure.h"
20
22#include "Cuda/Propagation.cu"
23#include "Cuda/Arithmetic.cu"
26#include "Cuda/LossFunctions.cu"
29#include "Cuda/Dropout.cu"
31
32namespace TMVA {
33namespace DNN {
34
35template class TCuda<Float_t>;
36template class TCuda<Double_t>;
37
38
39#ifndef R__HAS_TMVAGPU
40 // if R__HAS_TMVAGPU is not defined this file should not be compiled
41 static_assert(false,"GPU/CUDA architecture is not enabled");
42#endif
43
44
45} // namespace tmva
46} // namespace dnn
create variable transformations