You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using CuArrays
using Flux
x =zeros(Float32,10,0) |> gpu
y =ones(Float32,10,1) |> gpu
hcat(x,y)
Works:
x =zeros(Float32,10,1)
y =ones(Float32,10,1)
hcat(x,y)
also works
using CuArrays
using Flux
x =zeros(Float32,10,1) |> gpu
y =ones(Float32,10,1) |> gpu
hcat(x,y)
Expected behavior
I expect the concatenation to be successful when starting with an empty tensor
Build log
(new-code) pkg> build
Building SpecialFunctions → `~/.julia/packages/SpecialFunctions/fvheQ/deps/build.log`
Building LLVM ────────────→ `~/.julia/packages/LLVM/tg8MX/deps/build.log`
Building Conda ───────────→ `~/.julia/packages/Conda/CpuvI/deps/build.log`
Building FFTW ────────────→ `~/.julia/packages/FFTW/p7sLQ/deps/build.log`
Building ZMQ ─────────────→ `~/.julia/packages/ZMQ/ABGOx/deps/build.log`
Building ZipFile ─────────→ `~/.julia/packages/ZipFile/YHTbb/deps/build.log`
Building CUDAdrv ─────────→ `~/.julia/packages/CUDAdrv/lu32K/deps/build.log`
Building CUDAnative ──────→ `~/.julia/packages/CUDAnative/PFgO3/deps/build.log`
Building CuArrays ────────→ `~/.julia/packages/CuArrays/qZCAt/deps/build.log`
Building MbedTLS ─────────→ `~/.julia/packages/MbedTLS/X4xar/deps/build.log`
Building CodecZlib ───────→ `~/.julia/packages/CodecZlib/9jDi1/deps/build.log`
Building IJulia ──────────→ `~/.julia/packages/IJulia/9ajf8/deps/build.log`
Environment details (please complete this section)
Details on Julia:
julia> versioninfo()
Julia Version 1.1.0
Commit 80516ca (2019-01-21 21:24 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, haswell)
$nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Fri_Feb__8_19:08:17_PST_2019
Cuda compilation tools, release 10.1, V10.1.105
$ cat /usr/local/cuda/version.txt
CUDA Version 10.1.105
The text was updated successfully, but these errors were encountered:
Describe the bug
Reproduction is straight forward
To Reproduce
Doesn't work:
Works:
also works
Expected behavior
I expect the concatenation to be successful when starting with an empty tensor
Build log
Environment details (please complete this section)
Details on Julia:
#Installed Packages
#CUDA versions
The text was updated successfully, but these errors were encountered: