Files
eigen/unsupported/Eigen
Ben Barsdell 100d7caf92 Avoid integer overflow in EigenMetaKernel indexing
- The current implementation computes `size + total_threads`, which can
  overflow and cause CUDA_ERROR_ILLEGAL_ADDRESS when size is close to
  the maximum representable value.
- The num_blocks calculation can also overflow due to the implementation
  of divup().
- This patch prevents these overflows and allows the kernel to work
  correctly for the full representable range of tensor sizes.
- Also adds relevant tests.
2021-10-26 00:04:28 +00:00
..
2021-09-23 15:22:00 +00:00
2016-08-30 10:01:53 +02:00
2021-08-31 22:58:28 +00:00
2018-09-20 18:30:10 +02:00
2021-09-02 17:23:33 +00:00