Update hipGetChanDesc.cpp

[ROCm/clr commit: 5ba01d5033]
Este commit está contenido en:
lthakur
2018-07-11 11:53:16 +05:30
cometido por GitHub
padre 48e4f03665
commit b89f2310b8
@@ -21,7 +21,7 @@ THE SOFTWARE.
*/
/* HIT_START
* BUILD: %t %s ../test_common.cpp
* BUILD: %t %s ../test_common.cpp EXCLUDE_HIP_PLATFORM nvcc
* RUN: %t
* HIT_END
*/
@@ -35,10 +35,10 @@ using namespace std;
bool testResult = true;
void runTest(void);
bool runTest(void);
int main(int argc, char** argv) {
runTest();
testResult=runTest();
if (testResult) {
passed();
@@ -48,7 +48,7 @@ int main(int argc, char** argv) {
}
void runTest()
bool runTest()
{
hipChannelFormatDesc chan_test,chan_desc=hipCreateChannelDesc(32,0,0,0,hipChannelFormatKindSigned);
@@ -63,4 +63,5 @@ else
testResult=false;
HIPCHECK(hipFreeArray(hipArray));
return testResult;
}