dev@sol.petamem.com:/data/soft/perl-CUDA-Minimal # ./Build test t/00_load.t ............... ok t/Index-Manipulation.t .... ok t/Memory.t ................ ok t/Transfer.t .............. ok t/z_PDL.t ................. ok t/z_kernel_invocations.t .. ok All tests successful. Files=6, Tests=76, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.21 cusr 0.74 csys = 0.98 CPU) Result: PASS
You have to do some hacking
/opt/cuda/host_config.h
to remain silent about gcc 5.3.0
ExtUtils::nvcc::Backend
to inject forced inlines to nvcc
push @nvcc_args, '-D_FORCE_INLINES=1';
as I wasn't able to do it on CLI
PDL build
https://sourceforge.net/p/pdl/bugs/407/
and finally hack 3 tests in t/z_kernel_invocations.t to match against "illegal memory access" instead of "unspecified".
cheers!