Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.1.5 #39

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "CUDSS"
uuid = "45b445bb-4962-46a0-9369-b4df9d0f772e"
authors = ["Alexis Montoison <[email protected]>"]
version = "0.1.4"
version = "0.1.5"

[deps]
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
Expand Down
4 changes: 2 additions & 2 deletions src/interfaces.jl
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function cudss_get(data::CudssData, parameter::String)
type = CUDSS_TYPES[parameter]
val = Ref{type}()
nbytes = sizeof(val)
nbytes_written = Ref{Cint}()
nbytes_written = Ref{Csize_t}()
cudssDataGet(handle(), data, parameter, val, nbytes, nbytes_written)
return val[]
end
Expand All @@ -178,7 +178,7 @@ function cudss_get(config::CudssConfig, parameter::String)
type = CUDSS_TYPES[parameter]
val = Ref{type}()
nbytes = sizeof(val)
nbytes_written = Ref{Cint}()
nbytes_written = Ref{Csize_t}()
cudssConfigGet(config, parameter, val, nbytes, nbytes_written)
return val[]
end
Expand Down
10 changes: 5 additions & 5 deletions src/libcudss.jl
Original file line number Diff line number Diff line change
Expand Up @@ -114,28 +114,28 @@ end
@checked function cudssConfigSet(config, param, value, sizeInBytes)
initialize_context()
@ccall libcudss.cudssConfigSet(config::cudssConfig_t, param::cudssConfigParam_t,
value::Ptr{Cvoid}, sizeInBytes::Cint)::cudssStatus_t
value::Ptr{Cvoid}, sizeInBytes::Csize_t)::cudssStatus_t
end

@checked function cudssConfigGet(config, param, value, sizeInBytes, sizeWritten)
initialize_context()
@ccall libcudss.cudssConfigGet(config::cudssConfig_t, param::cudssConfigParam_t,
value::Ptr{Cvoid}, sizeInBytes::Cint,
sizeWritten::Ptr{Cint})::cudssStatus_t
value::Ptr{Cvoid}, sizeInBytes::Csize_t,
sizeWritten::Ptr{Csize_t})::cudssStatus_t
end

@checked function cudssDataSet(handle, data, param, value, sizeInBytes)
initialize_context()
@ccall libcudss.cudssDataSet(handle::cudssHandle_t, data::cudssData_t,
param::cudssDataParam_t, value::PtrOrCuPtr{Cvoid},
sizeInBytes::Cint)::cudssStatus_t
sizeInBytes::Csize_t)::cudssStatus_t
end

@checked function cudssDataGet(handle, data, param, value, sizeInBytes, sizeWritten)
initialize_context()
@ccall libcudss.cudssDataGet(handle::cudssHandle_t, data::cudssData_t,
param::cudssDataParam_t, value::PtrOrCuPtr{Cvoid},
sizeInBytes::Cint, sizeWritten::Ptr{Cint})::cudssStatus_t
sizeInBytes::Csize_t, sizeWritten::Ptr{Csize_t})::cudssStatus_t
end

@checked function cudssExecute(handle, phase, solverConfig, solverData, inputMatrix,
Expand Down
Loading