[HIPIFY][RAND] revise

+ add missing functions
+ add minimum rocRAND support
+ updated CURAND_API_supported_by_HIP.md
This commit is contained in:
Evgeny Mankov
2019-02-08 17:54:28 +03:00
parent abb20bd382
commit d1ea9d9d97
5 changed files with 14 additions and 10 deletions
+4 -2
View File
@@ -191,8 +191,10 @@ bool HipifyAction::Exclude(const hipCounter & hipToken) {
case CONV_INCLUDE:
switch (hipToken.apiType) {
case API_RAND:
if (insertedRAND_kernelHeader) { return true; }
insertedRAND_kernelHeader = true;
if (hipToken.hipName == "hiprand_kernel.h") {
if (insertedRAND_kernelHeader) { return true; }
insertedRAND_kernelHeader = true;
}
return false;
default:
return false;