Skip to content
Unverified Commit 8b02d61c authored by Matthias Diener's avatar Matthias Diener Committed by GitHub
Browse files

PytatoPyOpenCLArrayContext: don't trust the arg limit reported by the GPU (#198)

* PytatoPyOpenCLArrayContext: don't trust the arg limit reported by the
GPU

Apparently, CUDA doesn't like it when argument sizes get close
to the reported limit.
Avoids PTX/JIT errors of the type
CUDA_ERROR_INVALID_IMAGE: device kernel image is invalid
CUDA_ERROR_FILE_NOT_FOUND: file not found

* restructure and clarify

* add warning, clarify comment

* add comment about device naming
parent 4a87eaf5
Loading
Loading
Loading
Pipeline #342180 failed with stage
in 40 minutes and 9 seconds