NVIDIA / numba-cuda

BSD 2-Clause "Simplified" License
36 stars 8 forks source link

Add missing `config.DISABLE_PERFORMANCE_WARNINGS` checks #70

Closed maxkapur closed 1 day ago

maxkapur commented 2 days ago

Fix a few functions that raise a NumbaPerformanceWarningwithout checking whetherconfig.DISABLE_PERFORMANCE_WARNINGS` is set.

See the corresponding bug report and PR in Numba:

copy-pr-bot[bot] commented 2 days ago

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

gmarkall commented 1 day ago

/ok to test

gmarkall commented 1 day ago

I've manually confirmed that this disables both performance warnings locally.

gmarkall commented 1 day ago

Just waiting for CI now.

gmarkall commented 1 day ago

Many thanks @maxkapur!