clblast

Tuned OpenCL BLAS

Latest version: 1.6.0

Add to xmake.lua

add_requires("clblast 1.6.0")

Learn how to add and link packages with Xmake →

Information

License
Apache-2.0
Recipe updated
2023-09-24T03:11:51.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • macosx: x86_64, arm64
  • windows: x86, x64

Options

cuda
Build CLBlast with a CUDA API (beta) · Type: boolean · Default: false
netlib
Enable compilation of the CBLAS Netlib API · Type: boolean · Default: false
netlib_persistent_opencl
Makes OpenCL device and context in the CBLAS Netlib API static · Type: boolean · Default: false
opencl
Build CLBlast with an OpenCL API · Type: boolean · Default: true
tuners
Enable compilation of the tuners · Type: boolean · Default: false
verbose
Compile in verbose mode for additional diagnostic messages · Type: boolean · Default: false
workaround
Enables workaround for bug in AMD Southern Island GPUs · Type: boolean · Default: false

Versions

  • 1.6.0

Dependencies

Used by (1)

Packages declaring this dependency; requirements can vary by platform and configuration.

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "clblast 1.6.0"

show info

xrepo info "clblast"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("clblast 1.6.0")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("clblast")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "clblast 1.6.0" shell