Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting union bits types #934

Closed
ViralBShah opened this issue May 27, 2021 · 2 comments
Closed

Supporting union bits types #934

ViralBShah opened this issue May 27, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@ViralBShah
Copy link
Contributor

I tried to see what it might take to run DataFrames.jl on GPUs as discussed in JuliaData/DataFrames.jl#2713

Working with the neuro dataset from RDatasets, I could not convert a vector with missing data into a CuArray:

julia> cu(neuro.V1)
ERROR: CuArray does not yet support union bits types
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:33
  [2] CuArray{Union{Missing, Float64}, 1}(#unused#::UndefInitializer, dims::Tuple{Int64})
    @ CUDA ~/.julia/packages/CUDA/Zmd60/src/array.jl:18
  [3] (CuArray{Union{Missing, Float64}, N} where N)(#unused#::UndefInitializer, dims::Tuple{Int64})
@ViralBShah ViralBShah added the enhancement New feature or request label May 27, 2021
@ViralBShah
Copy link
Contributor Author

cc @quinnj

@maleadt
Copy link
Member

maleadt commented May 27, 2021

There is already an issue, #103, so I'll add your use-case there.

@maleadt maleadt closed this as completed May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants