cuda-python icon indicating copy to clipboard operation
cuda-python copied to clipboard

[FEA]: Tests for `ltoir`, `fatbin`, `object`, and `library` constructors

Open brandon-b-miller opened this issue 8 months ago • 4 comments

Is this a duplicate?

  • [x] I confirmed there appear to be no duplicate issues for this request and that I agree to the Code of Conduct

Area

cuda.bindings

Is your feature request related to a problem? Please describe.

https://github.com/NVIDIA/cuda-python/pull/652 adds these constructors for these various code types to the ObjectCode class, but can't leverage the convenient pattern for testing that the existing ones do and need their own set of tests.

Describe the solution you'd like

Some ideas that have been brought up:

  • Take a similar approach to Numba's test binary makefile and vendor some/all of it here with appropriate changes
  • Other ideas raised in the comments https://github.com/NVIDIA/cuda-python/pull/652#issuecomment-2902069400

Describe alternatives you've considered

No response

Additional context

No response

brandon-b-miller avatar May 29 '25 14:05 brandon-b-miller