Gaussian, Images samples fail on NVidia hardware


If I compile the SDK for ptx some samples fail:

Images: SYCL exception caught: Error: [ComputeCpp:RT0100] Failed to build program (Build log for program 0x2f97900 device 0 (size 96): ptxas fatal : Unresolved extern function ‘_Z11read_imagef14ocl_image2d_ro11ocl_samplerDv2_i’

Gaussian: terminate called after throwing an instance of ‘cl::sycl::compile_program_error’


This is caused by missing built-ins for the “ptx” back-end implementation of ComputeCpp. At the moment it is necessary to avoid using most built ins when compiling for “ptx”.