Skip to content
Snippets Groups Projects
  1. Oct 03, 2022
  2. Oct 02, 2022
  3. Sep 27, 2022
  4. Sep 26, 2022
    • Matthias Diener's avatar
      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
  5. Sep 23, 2022
  6. Sep 20, 2022
  7. Sep 19, 2022
    • Matthias Diener's avatar
      PytatoPyOpenCLArrayContext: use SVM allocator if available, limit arg size for GPUs (#189) · 3c9aee68
      Matthias Diener authored
      
      * LazilyPyOpenCLCompilingFunctionCaller: limit arg size for GPUs
      
      * move limit
      
      * also check for SVM presence
      
      * get_target()
      
      * memoize get_target
      
      * UNDO BEFORE MERGE: use dev branches
      
      * Hackety hack: SVM detection in actx constructor
      
      * check whether passed allocator supports SVM
      
      * undo loopy branch
      
      * implement it for the base class
      
      * subclass LoopyPyOpenCLTarget
      
      * set actual limit
      
      * undo pytato branch
      
      * remove unused argument
      
      * add type annotations
      
      * add logging
      
      * Refactor arg size passing to put less logic in the target
      
      * flake8
      
      * add a test
      
      Co-authored-by: default avatarAndreas Kloeckner <inform@tiker.net>
      3c9aee68
  8. Sep 11, 2022
  9. Aug 10, 2022
  10. Aug 08, 2022
  11. Aug 05, 2022
  12. Jul 01, 2022
  13. Jun 29, 2022
  14. Jun 28, 2022
  15. Jun 26, 2022
  16. Jun 20, 2022
  17. Jun 19, 2022
Loading