NVIDIA / cuda-samples

Samples for CUDA Developers which demonstrates features in CUDA Toolkit
Other
6.47k stars 1.83k forks source link

simpleAssert.cu: error == cudaSuccess #300

Open ohmaya opened 2 months ago

ohmaya commented 2 months ago

"testResult = error == cudaErrorAssert;" => "testResult = error == cudaSuccess;"

The test condition in main() is: "testResult == true" results in OK and EXIT_SUCCESS.