diff --git a/HIP-Examples-Applications/BinomialOption/BinomialOption.cpp b/HIP-Examples-Applications/BinomialOption/BinomialOption.cpp index 1b9bc10..035ffb4 100644 --- a/HIP-Examples-Applications/BinomialOption/BinomialOption.cpp +++ b/HIP-Examples-Applications/BinomialOption/BinomialOption.cpp @@ -560,12 +560,12 @@ int BinomialOption::verifyResults() // compare the results and see if they match if(compare(output, refOutput, numSamples, 0.001f)) { - std::cout << "Passed!\n" << std::endl; + std::cout << "PASSED!\n" << std::endl; return SDK_SUCCESS; } else { - std::cout <<" Failed\n" << std::endl; + std::cout <<" FAILED\n" << std::endl; std::cout <<"\n\n\nNo. Output Output(hex) Refoutput Refoutput(hex)\n"; for(int i = 0; i < numSamples; ++i) diff --git a/HIP-Examples-Applications/BinomialOption/Makefile b/HIP-Examples-Applications/BinomialOption/Makefile index 2f11d87..755ca82 100644 --- a/HIP-Examples-Applications/BinomialOption/Makefile +++ b/HIP-Examples-Applications/BinomialOption/Makefile @@ -26,7 +26,7 @@ $(EXECUTABLE): $(OBJECTS) test: $(EXECUTABLE) - $(EXECUTABLE) + $(EXECUTABLE) --verify clean: diff --git a/HIP-Examples-Applications/BitonicSort/BitonicSort.cpp b/HIP-Examples-Applications/BitonicSort/BitonicSort.cpp index cdfda90..9d7a896 100644 --- a/HIP-Examples-Applications/BitonicSort/BitonicSort.cpp +++ b/HIP-Examples-Applications/BitonicSort/BitonicSort.cpp @@ -567,12 +567,12 @@ int BitonicSort::verifyResults() // compare the results and see if they match if(memcmp(input, verificationInput, length*sizeof(unsigned int)) == 0) { - std::cout<<"Passed!\n" << std::endl; + std::cout<<"PASSED!\n" << std::endl; return SDK_SUCCESS; } else { - std::cout<<"Failed\n" << std::endl; + std::cout<<"FAILED\n" << std::endl; return SDK_FAILURE; } diff --git a/HIP-Examples-Applications/BitonicSort/Makefile b/HIP-Examples-Applications/BitonicSort/Makefile index 6c62bad..e90b006 100644 --- a/HIP-Examples-Applications/BitonicSort/Makefile +++ b/HIP-Examples-Applications/BitonicSort/Makefile @@ -26,7 +26,7 @@ $(EXECUTABLE): $(OBJECTS) test: $(EXECUTABLE) - $(EXECUTABLE) + $(EXECUTABLE) --verify clean: diff --git a/HIP-Examples-Applications/FastWalshTransform/FastWalshTransform.cpp b/HIP-Examples-Applications/FastWalshTransform/FastWalshTransform.cpp index 68ffe56..fee9236 100644 --- a/HIP-Examples-Applications/FastWalshTransform/FastWalshTransform.cpp +++ b/HIP-Examples-Applications/FastWalshTransform/FastWalshTransform.cpp @@ -390,12 +390,12 @@ FastWalshTransform::verifyResults() // compare the results and see if they match if(compare(output, verificationInput, length)) { - std::cout << "Passed!\n" << std::endl; + std::cout << "PASSED!\n" << std::endl; return SDK_SUCCESS; } else { - std::cout << "Failed\n" << std::endl; + std::cout << "FAILED\n" << std::endl; return SDK_FAILURE; } } diff --git a/HIP-Examples-Applications/FastWalshTransform/Makefile b/HIP-Examples-Applications/FastWalshTransform/Makefile index ee7c21a..6eb618e 100644 --- a/HIP-Examples-Applications/FastWalshTransform/Makefile +++ b/HIP-Examples-Applications/FastWalshTransform/Makefile @@ -26,7 +26,7 @@ $(EXECUTABLE): $(OBJECTS) test: $(EXECUTABLE) - $(EXECUTABLE) + $(EXECUTABLE) --verify clean: diff --git a/HIP-Examples-Applications/FloydWarshall/FloydWarshall.cpp b/HIP-Examples-Applications/FloydWarshall/FloydWarshall.cpp index 3fa9f1d..b8564a2 100644 --- a/HIP-Examples-Applications/FloydWarshall/FloydWarshall.cpp +++ b/HIP-Examples-Applications/FloydWarshall/FloydWarshall.cpp @@ -584,12 +584,12 @@ int FloydWarshall::verifyResults() if(memcmp(pathDistanceMatrix, verificationPathDistanceMatrix, numNodes*numNodes*sizeof(unsigned int)) == 0) { - std::cout << "Passed!\n" << std::endl; + std::cout << "PASSED!\n" << std::endl; return SDK_SUCCESS; } else { - std::cout << "Failed\n" << std::endl; + std::cout << "FAILED\n" << std::endl; return SDK_FAILURE; } } diff --git a/HIP-Examples-Applications/FloydWarshall/Makefile b/HIP-Examples-Applications/FloydWarshall/Makefile index 30a5f98..0cd94f7 100644 --- a/HIP-Examples-Applications/FloydWarshall/Makefile +++ b/HIP-Examples-Applications/FloydWarshall/Makefile @@ -26,7 +26,7 @@ $(EXECUTABLE): $(OBJECTS) test: $(EXECUTABLE) - $(EXECUTABLE) + $(EXECUTABLE) --verify clean: diff --git a/HIP-Examples-Applications/HelloWorld/HelloWorld.cpp b/HIP-Examples-Applications/HelloWorld/HelloWorld.cpp index 07c07a4..6180287 100644 --- a/HIP-Examples-Applications/HelloWorld/HelloWorld.cpp +++ b/HIP-Examples-Applications/HelloWorld/HelloWorld.cpp @@ -80,6 +80,6 @@ int main(int argc, char* argv[]) free(output); - std::cout<<"Passed!\n"; + std::cout<<"PASSED!\n"; return SUCCESS; } diff --git a/HIP-Examples-Applications/HelloWorld/Makefile b/HIP-Examples-Applications/HelloWorld/Makefile index 216762a..8f936db 100644 --- a/HIP-Examples-Applications/HelloWorld/Makefile +++ b/HIP-Examples-Applications/HelloWorld/Makefile @@ -26,7 +26,7 @@ $(EXECUTABLE): $(OBJECTS) test: $(EXECUTABLE) - $(EXECUTABLE) + $(EXECUTABLE) --verify clean: diff --git a/HIP-Examples-Applications/Histogram/Histogram.cpp b/HIP-Examples-Applications/Histogram/Histogram.cpp index 6c6a07b..7167e33 100644 --- a/HIP-Examples-Applications/Histogram/Histogram.cpp +++ b/HIP-Examples-Applications/Histogram/Histogram.cpp @@ -419,12 +419,12 @@ Histogram::verifyResults() if(result) { - std::cout << "Passed!\n" << std::endl; + std::cout << "PASSED!\n" << std::endl; return SDK_SUCCESS; } else { - std::cout << "Failed\n" << std::endl; + std::cout << "FAILED\n" << std::endl; return SDK_FAILURE; } } diff --git a/HIP-Examples-Applications/Histogram/Makefile b/HIP-Examples-Applications/Histogram/Makefile index 836b6d0..9ece147 100644 --- a/HIP-Examples-Applications/Histogram/Makefile +++ b/HIP-Examples-Applications/Histogram/Makefile @@ -26,7 +26,7 @@ $(EXECUTABLE): $(OBJECTS) test: $(EXECUTABLE) - $(EXECUTABLE) + $(EXECUTABLE) --verify clean: diff --git a/HIP-Examples-Applications/MatrixMultiplication/Makefile b/HIP-Examples-Applications/MatrixMultiplication/Makefile index 8b89dd4..713a9d8 100644 --- a/HIP-Examples-Applications/MatrixMultiplication/Makefile +++ b/HIP-Examples-Applications/MatrixMultiplication/Makefile @@ -26,7 +26,7 @@ $(EXECUTABLE): $(OBJECTS) test: $(EXECUTABLE) - $(EXECUTABLE) + $(EXECUTABLE) --verify clean: diff --git a/HIP-Examples-Applications/MatrixMultiplication/MatrixMultiplication.cpp b/HIP-Examples-Applications/MatrixMultiplication/MatrixMultiplication.cpp index d1cbaed..9f023d3 100644 --- a/HIP-Examples-Applications/MatrixMultiplication/MatrixMultiplication.cpp +++ b/HIP-Examples-Applications/MatrixMultiplication/MatrixMultiplication.cpp @@ -557,12 +557,12 @@ MatrixMultiplication::verifyResults() // compare the results and see if they match if(compare(output, verificationOutput, height0*width1)) { - std::cout<<"Passed!\n" << std::endl; + std::cout<<"PASSED!\n" << std::endl; return SDK_SUCCESS; } else { - std::cout<<"Failed\n" << std::endl; + std::cout<<"FAILED\n" << std::endl; return SDK_FAILURE; } } diff --git a/HIP-Examples-Applications/PrefixSum/Makefile b/HIP-Examples-Applications/PrefixSum/Makefile index 2119cb5..dddbc0c 100644 --- a/HIP-Examples-Applications/PrefixSum/Makefile +++ b/HIP-Examples-Applications/PrefixSum/Makefile @@ -26,7 +26,7 @@ $(EXECUTABLE): $(OBJECTS) test: $(EXECUTABLE) - $(EXECUTABLE) + $(EXECUTABLE) --verify clean: diff --git a/HIP-Examples-Applications/PrefixSum/PrefixSum.cpp b/HIP-Examples-Applications/PrefixSum/PrefixSum.cpp index dd7ab2b..5c62fee 100644 --- a/HIP-Examples-Applications/PrefixSum/PrefixSum.cpp +++ b/HIP-Examples-Applications/PrefixSum/PrefixSum.cpp @@ -549,12 +549,12 @@ int PrefixSum::verifyResults() float epsilon = length * 1e-7f; if(compare(out, verificationOutput, length, epsilon)) { - std::cout << "Passed!\n" << std::endl; + std::cout << "PASSED!\n" << std::endl; status = SDK_SUCCESS; } else { - std::cout << "Failed\n" << std::endl; + std::cout << "FAILED\n" << std::endl; status = SDK_FAILURE; } diff --git a/HIP-Examples-Applications/RecursiveGaussian/Makefile b/HIP-Examples-Applications/RecursiveGaussian/Makefile index defa4c9..0530a9e 100644 --- a/HIP-Examples-Applications/RecursiveGaussian/Makefile +++ b/HIP-Examples-Applications/RecursiveGaussian/Makefile @@ -26,7 +26,7 @@ $(EXECUTABLE): $(OBJECTS) test: $(EXECUTABLE) - $(EXECUTABLE) + $(EXECUTABLE) --verify clean: diff --git a/HIP-Examples-Applications/RecursiveGaussian/RecursiveGaussian.cpp b/HIP-Examples-Applications/RecursiveGaussian/RecursiveGaussian.cpp index 7e99bae..8f2a8de 100644 --- a/HIP-Examples-Applications/RecursiveGaussian/RecursiveGaussian.cpp +++ b/HIP-Examples-Applications/RecursiveGaussian/RecursiveGaussian.cpp @@ -680,14 +680,14 @@ RecursiveGaussian::verifyResults() width * height, (float)0.0001)) { - std::cout <<"Passed!\n" << std::endl; + std::cout <<"PASSED!\n" << std::endl; delete[] outputDevice; delete[] outputReference; return SDK_SUCCESS; } else { - std::cout << "Failed\n" << std::endl; + std::cout << "FAILED\n" << std::endl; delete[] outputDevice; delete[] outputReference; return SDK_FAILURE; diff --git a/HIP-Examples-Applications/RecursiveGaussian/RecursiveGaussian_Output.bmp b/HIP-Examples-Applications/RecursiveGaussian/RecursiveGaussian_Output.bmp index a2198f7..8cee662 100644 Binary files a/HIP-Examples-Applications/RecursiveGaussian/RecursiveGaussian_Output.bmp and b/HIP-Examples-Applications/RecursiveGaussian/RecursiveGaussian_Output.bmp differ diff --git a/HIP-Examples-Applications/SimpleConvolution/Makefile b/HIP-Examples-Applications/SimpleConvolution/Makefile index b8099e7..b797557 100644 --- a/HIP-Examples-Applications/SimpleConvolution/Makefile +++ b/HIP-Examples-Applications/SimpleConvolution/Makefile @@ -26,7 +26,7 @@ $(EXECUTABLE): $(OBJECTS) test: $(EXECUTABLE) - $(EXECUTABLE) + $(EXECUTABLE) --verify clean: diff --git a/HIP-Examples-Applications/SimpleConvolution/SimpleConvolution.cpp b/HIP-Examples-Applications/SimpleConvolution/SimpleConvolution.cpp index 45990ec..0cc33c1 100644 --- a/HIP-Examples-Applications/SimpleConvolution/SimpleConvolution.cpp +++ b/HIP-Examples-Applications/SimpleConvolution/SimpleConvolution.cpp @@ -545,11 +545,11 @@ int SimpleConvolution::verifyResults() // compare the results and see if they match if(memcmp(output, verificationOutput, height*width*sizeof(int)) == 0) { - std::cout<<"Passed!\n" << std::endl; + std::cout<<"PASSED!\n" << std::endl; } else { - std::cout<<"Failed\n" << std::endl; + std::cout<<"FAILED\n" << std::endl; return SDK_FAILURE; } @@ -557,12 +557,12 @@ int SimpleConvolution::verifyResults() // compare the results and see if they match if(memcmp(outputSep, verificationOutput, height*width*sizeof(int)) == 0) { - std::cout<<"Passed!\n" << std::endl; + std::cout<<"PASSED!\n" << std::endl; return SDK_SUCCESS; } else { - std::cout<<"Failed\n" << std::endl; + std::cout<<"FAILED\n" << std::endl; return SDK_FAILURE; } } diff --git a/HIP-Examples-Applications/dct/Makefile b/HIP-Examples-Applications/dct/Makefile index 03a48a4..74607cc 100644 --- a/HIP-Examples-Applications/dct/Makefile +++ b/HIP-Examples-Applications/dct/Makefile @@ -26,7 +26,7 @@ $(EXECUTABLE): $(OBJECTS) test: $(EXECUTABLE) - $(EXECUTABLE) + $(EXECUTABLE) --verify clean: diff --git a/HIP-Examples-Applications/dct/dct.cpp b/HIP-Examples-Applications/dct/dct.cpp index 7a7b3a4..83944cd 100644 --- a/HIP-Examples-Applications/dct/dct.cpp +++ b/HIP-Examples-Applications/dct/dct.cpp @@ -640,12 +640,12 @@ int DCT::verifyResults() // compare the results and see if they match if(compare(output, verificationOutput, width*height)) { - std::cout<<"Passed!\n" << std::endl; + std::cout<<"PASSED!\n" << std::endl; return SDK_SUCCESS; } else { - std::cout<<"Failed\n" << std::endl; + std::cout<<"FAILED\n" << std::endl; return SDK_FAILURE; } } diff --git a/HIP-Examples-Applications/dwtHaar1D/Makefile b/HIP-Examples-Applications/dwtHaar1D/Makefile index b196ca3..ce293cf 100644 --- a/HIP-Examples-Applications/dwtHaar1D/Makefile +++ b/HIP-Examples-Applications/dwtHaar1D/Makefile @@ -26,7 +26,7 @@ $(EXECUTABLE): $(OBJECTS) test: $(EXECUTABLE) - $(EXECUTABLE) + $(EXECUTABLE) --verify clean: diff --git a/HIP-Examples-Applications/dwtHaar1D/dwtHaar1D.cpp b/HIP-Examples-Applications/dwtHaar1D/dwtHaar1D.cpp index da98e0e..3520bab 100644 --- a/HIP-Examples-Applications/dwtHaar1D/dwtHaar1D.cpp +++ b/HIP-Examples-Applications/dwtHaar1D/dwtHaar1D.cpp @@ -625,12 +625,12 @@ DwtHaar1D::verifyResults() if(result) { - std::cout << "Passed!\n" << std::endl; + std::cout << "PASSED!\n" << std::endl; return SDK_SUCCESS; } else { - std::cout << "Failed\n" << std::endl; + std::cout << "FAILED\n" << std::endl; return SDK_FAILURE; } }