Skip to content
Snippets Groups Projects
  • Matthias Diener's avatar
    8b02d61c
    PytatoPyOpenCLArrayContext: don't trust the arg limit reported by the GPU (#198) · 8b02d61c
    Matthias Diener authored
    * 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
    8b02d61c
    History
    PytatoPyOpenCLArrayContext: don't trust the arg limit reported by the GPU (#198)
    Matthias Diener authored
    * 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