NVIDIA / cuda-samples

Samples for CUDA Developers which demonstrates features in CUDA Toolkit
Other
6.2k stars 1.78k forks source link

simpleAssert.cu: error == cudaSuccess #300

Open ohmaya opened 1 week ago

ohmaya commented 1 week ago

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

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