CLArrays.jl
CLArrays.jl copied to clipboard
OpenCL-backed GPU Arrays
I've been trying to broadcast with an argument like this: ```julia struct WithTuple a::Int32 b::Tuple{Int32,Int32} end ``` But it breaks with an error like this, somehow to do with differences...
```julia julia> CLArray{Float32,2}(10,10) ERROR: MethodError: CLArrays.CLArray{Float32,2}(::Int64, ::Int64) is ambiguous. Candidates: (::Type{CLArrays.CLArray{T,N}})(size, ptr) where {T, N} in CLArrays at /Users/solver/.julia/v0.6/CLArrays/src/array.jl:12 (T::Type{#s9} where #s9
I'm not sure if this should work, but nevertheless it throws an error: ```julia julia> A = CLArray{Float32}(randn(100,100)); julia> b = CLArray{Float32}(randn(10)); julia> view(A,1:10,1:10)*b ERROR: conversion to pointer not defined...
Hello, I have installed the package without any errors and made the following test: ```julia using CLArrays sizes = [100,500,1000] for s in sizes srand(123) X = rand(Float32,s,s) Xcl =...
Platform Ubuntu 16.04 Julia 0.6.2 > julia> using CLArrays > INFO: Precompiling module CLArrays. > > signal (11): Segmentation fault > while loading /home/phil/.julia/v0.6/CLArrays/src/3rdparty.jl, in expression starting on line 72...
Okay, I think this (unlike my comments on Makie) is caused by something other than driver issues. Please correct me if I am wrong. ```julia julia> using CLArrays, GPUArrays julia>...
I'm in the process of replicating the `zeros` and `eye` convenience constructors in BandedMatrices.jl and other packages, see https://github.com/JuliaMatrices/BandedMatrices.jl/issues/42 Personally, the semantics of `zeros(CLArray{Float32},n,n)` seems wrong as it looks like...
After creating the simple array of zeros like in the example, I see this (running in Juno/JuliaPro, 0.6, built with MKL, both with the METADATA version and after doing a...