Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
Cudnn.cu
Go to the documentation of this file.
1// @(#)root/tmva/tmva/dnn:$Id$
2// Author: Joana Niermann 23/07/19
3
4/*************************************************************************
5 * Copyright (C) 2019 Joana Niermann *
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 TCudnn architecture class with //
14// for Double_t and Real_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 "Cudnn/Propagate.cu"
23#include "Cudnn/Dropout.cu"
24#include "Cudnn/Arithmetic.cu"
28//#include "Cudnn/Regularization.cu"
30
31//#include "Cudnn/Dropout.cu"
33
34namespace TMVA {
35namespace DNN {
36
37template class TCudnn<Float_t>;
38template class TCudnn<Double_t>;
39
40#ifndef R__HAS_TMVAGPU
41 // if R__HAS_TMVAGPU is not defined this file should not be compiled
42 static_assert(false,"GPU/CUDA architecture is not enabled");
43#endif
44
45 // CuDNN options
46
47
48// int TCudnn<Double_t>::CNNOptions::ConvFwdAlgorithm = -1;
49// int TCudnn<Double_t>::CNNOptions::ConvBwdDataAlgorithm = -1;
50// int TCudnn<Double_t>::CNNOptions::ConvBwdFilterAlgorithm = -1;
51// size_t TCudnn<Double_t>::CNNOptions::ConvMaxWorkspaceSize = 0;
52
53} // end namespace DNN
54} // end namespace TMVA
create variable transformations