# Linear algebra of sparse matrices on GPU

**URL:** <https://discourse.julialang.org/t/linear-algebra-of-sparse-matrices-on-gpu/79287>\
**Category:** GPU\
**Tags:** gpu, linearalgebra\
**Created:** [April 10, 2022, 7:41am UTC](https://discourse.julialang.org/t/linear-algebra-of-sparse-matrices-on-gpu/79287 "2022-04-10T07:41:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vahid\_Hosseinzadeh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vahid_hosseinzadeh/32/33293_2.png) [@Vahid\_Hosseinzadeh](https://discourse.julialang.org/u/Vahid_Hosseinzadeh)\
**Post date:** [April 10, 2022, 7:41am UTC](https://discourse.julialang.org/t/linear-algebra-of-sparse-matrices-on-gpu/79287/1 "2022-04-10T07:41:43Z")

</div>

Hello everyone,  
I have a code with some computations in LinearAlgebra using SparseArrays.  
How can I use that to be performed on GPU? Can I use Cuda.jl? what functions are available in linear algebra? In my case, I need `kron`, `tr`, `eigvals`, `exp`(exp of dense matrices of course) and of course multiplication and summation. I also used some multithreading packages like FLoops.jl for some loops in my code. How should I change them? I am completely new to this problem.  
Any help would be appreciated.
