2-norm
for views of CuArray falls back to scalar indexing
#2280
Labels
cuda array
Stuff about CuArray.
enhancement
New feature or request
good first issue
Good for newcomers
Describe the bug
When taking the 2-norm (or any p-norm apart from 1- and Inf-norm) of a CuArray view, the implementation errors due to scalar iteration. Interestingly, 1-norm and Inf-norm don't result in an error.
To reproduce
The Minimal Working Example (MWE) for this bug:
Manifest.toml
Expected behavior
The 2-norm of a CuArray view should behave similarly to other norms, calling CUDA implementation.
Version info
Details on Julia:
Details on CUDA:
The text was updated successfully, but these errors were encountered: