Skip to content
This repository was archived by the owner on Mar 12, 2021. It is now read-only.
This repository was archived by the owner on Mar 12, 2021. It is now read-only.

Split sublibraries into pure library wrappers and higher-level wrappers #287

@maleadt

Description

@maleadt

At some point, we are going to have to use Clang.jl to keep up with NVIDIA adding more API calls to the libraries. Currently however, our wrappers tend to mix the low-level ccall wrappers and the higher-level wrappers in a single file, making it impossible to "upgrade" the underlying" ccall wrappers.

For example: https://github.com/JuliaGPU/CuArrays.jl/blob/master/src/sparse/wrappers.jl should not contain any ccalls
Instead, for CUBLAS I already did the split into https://github.com/JuliaGPU/CuArrays.jl/blob/master/src/blas/wrappers.jl and https://github.com/JuliaGPU/CuArrays.jl/blob/master/src/blas/libcublas.jl

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions