Skip to content

Provide mechanism to disable CPU Fallback #73

@adarshyoga

Description

@adarshyoga

Numba njit GPU function silently executes on the CPU whenever Numba is not able to successfully compile the function for the GPU. This can be sometimes frustrating to the user who has assumes the code works correctly on the GPU, while in fact it has been executing on the CPU. While providing feedback will help slightly, we really need to provide some mechanism using which the user can disable CPU fallback and force program failure when GPU compilation fails. One way would be through an environment variable.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions