All Projects → JuliaGPU → CLBLAS.jl

JuliaGPU / CLBLAS.jl

Licence: Apache-2.0 license
CLBLAS integration for Julia

Programming Languages

julia
2034 projects
shell
77523 projects

Projects that are alternatives of or similar to CLBLAS.jl

bandicoot-code
Bandicoot: GPU accelerator add-on for the Armadillo C++ linear algebra library
Stars: ✭ 21 (+5%)
Mutual labels:  opencl, clblas
BruteForce
A simple brute forcer written in GO for SHA1, SHA256, SHA512, MD5 and bcrypt
Stars: ✭ 49 (+145%)
Mutual labels:  opencl
Inviwo
Inviwo - Interactive Visualization Workshop
Stars: ✭ 199 (+895%)
Mutual labels:  opencl
Computecpp Sdk
Collection of samples and utilities for using ComputeCpp, Codeplay's SYCL implementation
Stars: ✭ 239 (+1095%)
Mutual labels:  opencl
Onednn
oneAPI Deep Neural Network Library (oneDNN)
Stars: ✭ 2,600 (+12900%)
Mutual labels:  opencl
fahbench
Folding@home GPU benchmark
Stars: ✭ 32 (+60%)
Mutual labels:  opencl
Primestereomatch
A heterogeneous and fully parallel stereo matching algorithm for depth estimation, implementing a local adaptive support weight (ADSW) Guided Image Filter (GIF) cost aggregation stage. Developed in both C++ and OpenCL.
Stars: ✭ 191 (+855%)
Mutual labels:  opencl
opencl-in-action-swift
Generating OpenCL code using Swift and Grand Central Dispatch's OpenCL integration with Xcode. A direct reimplementation of the source code from the book 'OpenCL in Action' by Matthew Scarpino
Stars: ✭ 15 (-25%)
Mutual labels:  opencl
gpuowl
GPU Mersenne primality test.
Stars: ✭ 77 (+285%)
Mutual labels:  opencl
Occa
JIT Compilation for Multiple Architectures: C++, OpenMP, CUDA, HIP, OpenCL, Metal
Stars: ✭ 230 (+1050%)
Mutual labels:  opencl
Pysph
A framework for Smoothed Particle Hydrodynamics in Python
Stars: ✭ 223 (+1015%)
Mutual labels:  opencl
Cuetools.net
CD image processing suite with optimized lossless encoders in C#
Stars: ✭ 208 (+940%)
Mutual labels:  opencl
mcxcl
Monte Carlo eXtreme for OpenCL (MCXCL)
Stars: ✭ 36 (+80%)
Mutual labels:  opencl
Pine
🌲 Aimbot powered by real-time object detection with neural networks, GPU accelerated with Nvidia. Optimized for use with CS:GO.
Stars: ✭ 202 (+910%)
Mutual labels:  opencl
coriander-dnn
Partial implementation of NVIDIA® cuDNN API for Coriander, OpenCL 1.2
Stars: ✭ 22 (+10%)
Mutual labels:  opencl
Ck Caffe
Collective Knowledge workflow for Caffe to automate installation across diverse platforms and to collaboratively evaluate and optimize Caffe-based workloads across diverse hardware, software and data sets (compilers, libraries, tools, models, inputs):
Stars: ✭ 192 (+860%)
Mutual labels:  opencl
Opencl.jl
OpenCL Julia bindings
Stars: ✭ 216 (+980%)
Mutual labels:  opencl
OpenCLAda
An Ada binding for the OpenCL host API
Stars: ✭ 15 (-25%)
Mutual labels:  opencl
OpenCLRenderer
3D renderer built in C++/OpenCL
Stars: ✭ 29 (+45%)
Mutual labels:  opencl
CUDAfy.NET
CUDAfy .NET allows easy development of high performance GPGPU applications completely from the .NET. It's developed in C#.
Stars: ✭ 56 (+180%)
Mutual labels:  opencl

CLBLAS.jl

Build status:

AMD clBLAS bindings for Julia.

Installation notes

if the download of the binary fails on linux, you may also try to install clblas with sudo apt-get install libclblas-dev and then rerun Pkg.build("CLBLAS").

Current status

  • Low-level bindings
  • Partial implementation of high-level API similar to Base.LinAlg.BLAS

Example

using OpenCL
import OpenCL.cl.CLArray
import CLBLAS
const clblas = CLBLAS


clblas.setup()
device, ctx, queue = clblas.get_next_compute_context()
alpha = 1.0
beta = 0.0

hA = rand(5, 10)
hB = rand(10, 5)
A = CLArray(queue, hA)
B = CLArray(queue, hB)
C = cl.zeros(queue, 5, 5)

clblas.gemm!('N', 'N', alpha, A, B, beta, C)
hC = cl.to_host(C)
if isapprox(hC, hA * hB)
    info("Success!")
else
    error("Results diverged")
end

Caveats

  • Complex64/CL_float2 doesn't work by default. This is caused by some weird incompatibility between clang (default for Julia) and gcc (default for clBLAS), so the only way to fix it right now is to manually compile clBLAS using clang,
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].