diff --git a/projects/clr/hipamd/tests/src/texture/hipGetAlgntoffset2D.cpp b/projects/clr/hipamd/tests/src/texture/hipGetAlgntoffset2D.cpp index 213c49caaa..2343d7a7fb 100644 --- a/projects/clr/hipamd/tests/src/texture/hipGetAlgntoffset2D.cpp +++ b/projects/clr/hipamd/tests/src/texture/hipGetAlgntoffset2D.cpp @@ -32,7 +32,6 @@ using namespace std; #define R 8 //rows, height #define C 8 //columns, width - texture tex; bool runTest(void); @@ -47,10 +46,8 @@ int main(int argc, char** argv) { } } - bool runTest() { - int val[R][C],i,j; size_t offset; @@ -59,10 +56,7 @@ for(i=0;i