Skip to content

Instantly share code, notes, and snippets.

@SimonDanisch
Created November 2, 2017 18:34
Show Gist options
  • Save SimonDanisch/ed7e8589fae61c3d9c19cb34a9ad15fd to your computer and use it in GitHub Desktop.
Save SimonDanisch/ed7e8589fae61c3d9c19cb34a9ad15fd to your computer and use it in GitHub Desktop.
import CLBLAS # The low-level Julia CLBLAS C wrapper
GPUArrays.blas_module(A::CLArray) = CLBLAS
function GPUArrays.blasbuffer(A::CLArray)
cl.CLArray(clbuffer(A), global_queue(A), size(A))
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment