-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
using CuArrays
CuArrays.allowscalar(false)
cu(reshape(cu(randn(2,2))', 1,4)) # fails at displaying
CuArray(reshape(cu(randn(2,2))', 1,4)) # fails at the outermost call to CuArray
Details on Julia:
julia> versioninfo()
Julia Version 1.3.0-rc5.1
Commit 36c4eb251e (2019-11-17 19:04 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Environment:
JULIA_NUM_THREADS = 6
[3895d2a7] CUDAapi v2.0.0
[c5f51814] CUDAdrv v4.0.4
[be33ccc6] CUDAnative v2.5.5
[3a865a2d] CuArrays v1.4.7
I hit this error all the time while backpropagating using Tracker, not sure which adjoint definition causes this error though.
Both the adjoint and the reshape are required for the error to appear, either one of them by themselves works alright.
Metadata
Metadata
Assignees
Labels
No labels