CHAI icon indicating copy to clipboard operation
CHAI copied to clipboard

Assert on out-of-range accesses

Open davidbeckingsale opened this issue 7 years ago • 5 comments

davidbeckingsale avatar Jun 12 '18 22:06 davidbeckingsale

I think this is looking good, but Im not sure why the nvcc builds are failing...

Does this build locally for you?

davidbeckingsale avatar Jun 15 '18 13:06 davidbeckingsale

@davidbeckingsale It builds fine when I tried it on the rajaorg/compiler:nvcc8 docker image. This image uses gcc5.

rrsettgast avatar Jun 15 '18 16:06 rrsettgast

Is this working now? Using assert on the device kills the kernel, but I believe you have to synchronize and check the error code on the host to actually see that there was a GPU assert.

adayton1 avatar Jan 16 '19 17:01 adayton1

@adayton1 - give it a whirl and let me know 😄

davidbeckingsale avatar Jan 17 '19 00:01 davidbeckingsale

@adayton1 , cmake will sometimes add a NDEBUG define which will cause asserts to no work. Will you be covering this case too? We see it in RAJA with the release build.

artv3 avatar Sep 16 '19 19:09 artv3