jpjones76 / SeisIO.jl

Julia language support for geophysical time series data
http://seisio.readthedocs.org
Other
47 stars 21 forks source link

NodalData creation with AbstractArray for GPU #66

Closed tclements closed 3 years ago

tclements commented 3 years ago

This PR changes NodalData creation from allowing only Array{Float32, 2} for the data parameter to allowing AbstractArray{Float32, 2}, which allows for passing CUDA.CuArray objects to the NodalData constructor.

This change should not impact NodalData creation in SeisIO but will allow me to move NodalData to the GPU using infrastructure we have in SeisNoise.