Update hipGetAlgntoffset2D.cpp

[ROCm/clr commit: b3b198f745]
Этот коммит содержится в:
lthakur
2018-07-11 11:51:08 +05:30
коммит произвёл GitHub
родитель 0f582a7893
Коммит 48e4f03665
+4 -3
Просмотреть файл
@@ -37,10 +37,10 @@ texture<int, hipTextureType2D,hipReadModeElementType> tex;
bool testResult = true;
void runTest(void);
bool runTest(void);
int main(int argc, char** argv) {
runTest();
testResult=runTest();
if (testResult) {
passed();
@@ -50,7 +50,7 @@ int main(int argc, char** argv) {
}
void runTest()
bool runTest()
{
int val[R][C],i,j;
@@ -81,4 +81,5 @@ HIPCHECK(hipGetTextureAlignmentOffset(&offset,&tex));
HIPCHECK(hipUnbindTexture(&tex));
HIPCHECK(hipFreeArray(hipArray));
return testResult;
}