Skip to content

Conversation

@maleadt
Copy link
Member

@maleadt maleadt commented Oct 30, 2023

The implementation was a bit messy. This should also make it easier to override scalar indexing in a back-end without affecting vectorized indexing. It also moves bounds checking to the CPU, which should improve the case where the array and indices are on the GPU already.

Fixes JuliaGPU/CUDA.jl#1678

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

view(data, idx) boundschecking is disproportionately expensive

2 participants