[HIPIFY] Initial cuDNN support

- based on https://github.com/ROCmSoftwarePlatform/hipDNN.
- lit testing was supplemented with CUDA_DNN_ROOT_DIR for cuDNN testing.
- single cuDNN test was added.


[ROCm/hip commit: fe421c89b2]
This commit is contained in:
Evgeny Mankov
2018-05-03 11:33:40 +03:00
parent 1b652107f7
commit 057b13fc4a
7 changed files with 91 additions and 2 deletions
@@ -160,6 +160,10 @@ bool HipifyAction::Exclude(const hipCounter & hipToken) {
insertedRANDHeader = true;
return false;
}
case API_DNN:
if (insertedDNNHeader) { return true; }
insertedDNNHeader = true;
return false;
default:
return false;
}