Skip to content

Commit

Permalink
Update the type of nbytes_written in interfaces.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Apr 25, 2024
1 parent 3b9c18d commit 5e90375
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 5e90375

Please sign in to comment.