fix(io): issue with cuda drivers api
Description
Some race condition appears when calling cuda drivers API from several parallel jobs (ex unit tests).
Steps to reproduce
Hard to reproduce, but some internal project has issue when using ctest -jX
Proposal
Remove cuda driver api calls in io_bitmap, it seems that the cuInit isn't required, and the cuDeviceGetCount
can be replaced by the same fonction from runtime api:
cudaGetDeviceCount
.
Functional specifications
NVJpeg should still work.
Technical specifications
Do not mix runtime and driver API.