GPUArrays.jl icon indicating copy to clipboard operation
GPUArrays.jl copied to clipboard

Testing method execution

Open maleadt opened this issue 7 years ago • 1 comments

Since we're overriding Base all the time (and similarly packages like CuArrays override generic functionality from GPUArrays) we need some test infrastructure to make sure certain specialized methods are executed when doing some operations.

eg. https://github.com/JuliaGPU/CuArrays.jl/pull/111#issuecomment-414259537

maleadt avatar Aug 28 '18 07:08 maleadt

Here is what we use in MKLSparse https://github.com/JuliaSparse/MKLSparse.jl/blob/3957a665612c4454815a305d53866d35cded5873/src/BLAS/level_2_3/generator.jl#L40 coupled with https://github.com/JuliaSparse/MKLSparse.jl/blob/3957a665612c4454815a305d53866d35cded5873/test/test_BLAS.jl#L26-L32.

Quite ugly but still.

KristofferC avatar Jan 17 '19 18:01 KristofferC