Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
khalid
Dadi
Commits
9cb886b8
Commit
9cb886b8
authored
Jul 23, 2020
by
Ryan Gutenkunst
Browse files
Move cusparse into dadi repository
parent
1419cf50
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
dadi/cuda/Integration.py
View file @
9cb886b8
...
...
@@ -78,10 +78,10 @@ def _inject_mutations_5D_valcalc(dt, xx, yy, zz, aa, bb, theta0, frozen1, frozen
import
pycuda
import
pycuda.gpuarray
as
gpuarray
from
skcuda.cusparse
import
cusparseDgtsvInterleavedBatch_bufferSizeExt
,
cusparseDgtsvInterleavedBatch
import
dadi.cuda
from
dadi.cuda
import
cusparse_handle
,
_grid
,
_block
,
transpose_gpuarray
from
dadi.cuda.cusparse
import
cusparseDgtsvInterleavedBatch_bufferSizeExt
,
cusparseDgtsvInterleavedBatch
from
.
import
kernels
def
_two_pops_const_params
(
phi
,
xx
,
...
...
dadi/cuda/__init__.py
View file @
9cb886b8
...
...
@@ -2,7 +2,7 @@ import atexit
import
pycuda.autoinit
from
pycuda.tools
import
clear_context_caches
,
make_default_context
from
sk
cuda.cusparse
import
cusparseCreate
,
cusparseDestroy
from
dadi.
cuda.cusparse
import
cusparseCreate
,
cusparseDestroy
from
skcuda.cublas
import
cublasCreate
,
cublasDestroy
,
cublasDgeam
ctx
=
make_default_context
()
...
...
dadi/cuda/cusparse.py
0 → 100644
View file @
9cb886b8
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment