The cuda_core examples are currently running in CI by exec'ing code. Now that they have all been refactored to have a main() function in #1674, we should be able to do that instead, as this comment suggests:
# TODO: Refactor the examples to give them a common callable `main()` to avoid needing to use exec here?
The cuda_core examples are currently running in CI by
exec'ing code. Now that they have all been refactored to have amain()function in #1674, we should be able to do that instead, as this comment suggests: