GEOS-DEV / LvArray

Portable HPC Containers (C++)
BSD 3-Clause "New" or "Revised" License
47 stars 10 forks source link

c-style error format #304

Closed tbeltzun closed 9 months ago

tbeltzun commented 1 year ago

Fix https://github.com/GEOS-DEV/LvArray/issues/303.

The rationale is that only printf is supported on CUDA kernels, so we switch to c-style format.

tbeltzun commented 9 months ago

@klevzoff, thanks for the comments.

This PR was a shot in the dark regarding debugging CUDA kernels: I think it just doesn't work and requires a cleaner rework from scratch based on https://github.com/GEOS-DEV/LvArray/issues/303.

I think I'll close this as :

  1. I don't plan working on this (postdoc time is limited);
  2. it doesn't work as is (tons of compilation warnings with CUDA).