Commits
Click on a commit to change the comparison range:triangular_flag_on_post: Remove dlpark/cuda from default features
Can't enable dlpark's 'cuda' feature by default, need to hide it behind cog3pio's 'cuda' feature flag. :sparkles: Transmute CudaSlice to proper dtype before entering DLPack
Handle conversion from u8 to other dtypes before putting data into DLPack. Need to determine dtype from sample_format and bits_per_pixel. Transmute turns CudaSlice into CudaView, so need https://github.com/SunDoge/dlpark/pull/29 for dlpark to support conversion to DLPack from CudaView. Also had to bump up opt-level from 1 (basic optimizations) to 2 (some optimizations), because `nvtiffDecodeCheckSupported` is failing with `NVTIFF_STATUS_TIFF_NOT_SUPPORTED (4)` on test/dev builds again.
Note to self that transmute is likely happening on native endian? Need to check that little/big endian TIFFs are properly decoded later. :white_check_mark: Add tests for reading u8/u16/u32/i16/i32 tiffs
Bunch of parametrized tests to ensure that reading various uint/int dtype TIFFs work. The u64/i64 TIFFs from GDAL's test suite are not supported by nvTIFF yet for some reason though.