hipsparsesgtsv2stridedbatch_buffersizeext Interface Reference

hipsparsesgtsv2stridedbatch_buffersizeext Interface Reference#

hipFORT API Reference: hipfort_hipsparse::hipsparsesgtsv2stridedbatch_buffersizeext Interface Reference
hipfort_hipsparse::hipsparsesgtsv2stridedbatch_buffersizeext Interface Reference

Public Member Functions

integer(c_int) function hipsparsesgtsv2stridedbatch_buffersizeext_ (handle, m, dl, d, du, x, batchcount, batchstride, pbuffersizeinbytes)
 
integer(kind(hipsparse_status_success)) function hipsparsesgtsv2stridedbatch_buffersizeext_typed (handle, m, dl, d, du, x, batchcount, batchstride, pbuffersizeinbytes)
 
integer(kind(hipsparse_status_success)) function hipsparsesgtsv2stridedbatch_buffersizeext_rank_0 (handle, m, dl, d, du, x, batchcount, batchstride, pbuffersizeinbytes)
 
integer(kind(hipsparse_status_success)) function hipsparsesgtsv2stridedbatch_buffersizeext_rank_1 (handle, m, dl, d, du, x, batchcount, batchstride, pbuffersizeinbytes)
 

Detailed Description

hipsparseXgtsv2StridedBatch_bufferSizeExt returns the size of the temporary storage buffer in bytes that is required by hipsparseSgtsv2StridedBatch "hipsparseXgtsv2StridedBatch()". The temporary storage buffer must be allocated by the user.

Parameters
[in]handle- handle to the hipSPARSE library context queue.
[in]m- size of the tridiagonal linear system.
[in]dl- lower diagonal of the tridiagonal system where the ith system lower diagonal starts at dl+batchStride*i.
[in]d- main diagonal of the tridiagonal system where the ith system diagonal starts at d+batchStride*i.
[in]du- upper diagonal of the tridiagonal system where the ith system upper diagonal starts at du+batchStride*i.
[in,out]x- Dense array of right-hand sides where the ith right-hand side starts at x+batchStride*i.
[in]batchCount- The number of systems to solve.
[in]batchStride- The number of elements that separate each system, which must satisfy batchStride >= m.
[out]pBufferSizeInBytes- number of bytes of the temporary storage buffer required by hipsparseSgtsv2StridedBatch "hipsparseXgtsv2StridedBatch()".
Return values
HIPSPARSE_STATUS_SUCCESSthe operation completed successfully.
HIPSPARSE_STATUS_INVALID_VALUEhandle, m, batchCount, batchStride, dl, d, du, x, or pBufferSizeInBytes pointer is invalid.
HIPSPARSE_STATUS_INTERNAL_ERRORan internal error occurred.

Member Function/Subroutine Documentation

◆ hipsparsesgtsv2stridedbatch_buffersizeext_()

integer(c_int) function hipfort_hipsparse::hipsparsesgtsv2stridedbatch_buffersizeext::hipsparsesgtsv2stridedbatch_buffersizeext_ ( type(c_ptr), value  handle,
integer(c_int), value  m,
type(c_ptr), value  dl,
type(c_ptr), value  d,
type(c_ptr), value  du,
type(c_ptr), value  x,
integer(c_int), value  batchcount,
integer(c_int), value  batchstride,
type(c_ptr), value  pbuffersizeinbytes 
)

◆ hipsparsesgtsv2stridedbatch_buffersizeext_rank_0()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsesgtsv2stridedbatch_buffersizeext::hipsparsesgtsv2stridedbatch_buffersizeext_rank_0 ( type(c_ptr), value  handle,
integer(c_int)  m,
real(c_float), target  dl,
real(c_float), target  d,
real(c_float), target  du,
real(c_float), target  x,
integer(c_int)  batchcount,
integer(c_int)  batchstride,
integer(c_size_t), target  pbuffersizeinbytes 
)

◆ hipsparsesgtsv2stridedbatch_buffersizeext_rank_1()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsesgtsv2stridedbatch_buffersizeext::hipsparsesgtsv2stridedbatch_buffersizeext_rank_1 ( type(c_ptr), value  handle,
integer(c_int)  m,
real(c_float), dimension(:), target  dl,
real(c_float), dimension(:), target  d,
real(c_float), dimension(:), target  du,
real(c_float), dimension(:), target  x,
integer(c_int)  batchcount,
integer(c_int)  batchstride,
integer(c_size_t), target  pbuffersizeinbytes 
)

◆ hipsparsesgtsv2stridedbatch_buffersizeext_typed()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsesgtsv2stridedbatch_buffersizeext::hipsparsesgtsv2stridedbatch_buffersizeext_typed ( type(c_ptr), value  handle,
integer(c_int)  m,
type(c_ptr)  dl,
type(c_ptr)  d,
type(c_ptr)  du,
type(c_ptr)  x,
integer(c_int)  batchcount,
integer(c_int)  batchstride,
integer(c_size_t), target  pbuffersizeinbytes 
)

The documentation for this interface was generated from the following file: