[HIPIFY] Add device texture fetch functions support

+ Add a corresponding reverse engineered sample tex2dKernel with texture template
This commit is contained in:
Evgeny Mankov
2019-05-23 12:47:08 +03:00
parent c3606891a9
commit 7db992cf44
3 changed files with 40 additions and 0 deletions
+3
View File
@@ -189,6 +189,9 @@ bool HipifyAction::Exclude(const hipCounter & hipToken) {
}
return false;
case CONV_INCLUDE:
if (hipToken.hipName.empty()) {
return true;
}
switch (hipToken.apiType) {
case API_RAND:
if (hipToken.hipName == "hiprand_kernel.h") {