hipsparsecreateidentitypermutation Interface Reference

hipsparsecreateidentitypermutation Interface Reference#

HIPFORT API Reference: hipfort_hipsparse::hipsparsecreateidentitypermutation Interface Reference
hipfort_hipsparse::hipsparsecreateidentitypermutation Interface Reference

Create the identity map. More...

Public Member Functions

integer(kind(hipsparse_status_success)) function hipsparsecreateidentitypermutation_ (handle, n, p)
 
integer(kind(hipsparse_status_success)) function hipsparsecreateidentitypermutation_rank_0 (handle, n, p)
 
integer(kind(hipsparse_status_success)) function hipsparsecreateidentitypermutation_rank_1 (handle, n, p)
 

Detailed Description

Create the identity map.

hipsparseCreateIdentityPermutation stores the identity map in p, such that \(p = 0:1:(n-1)\).

for(i = 0; i < n; ++i)
{
p[i] = i;
}
Note
This function is non blocking and executed asynchronously with respect to the host. It may return before the actual computation has finished.

Member Function/Subroutine Documentation

◆ hipsparsecreateidentitypermutation_()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsecreateidentitypermutation::hipsparsecreateidentitypermutation_ ( type(c_ptr), value  handle,
integer(c_int), value  n,
type(c_ptr), value  p 
)

◆ hipsparsecreateidentitypermutation_rank_0()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsecreateidentitypermutation::hipsparsecreateidentitypermutation_rank_0 ( type(c_ptr)  handle,
integer(c_int)  n,
integer(c_int), target  p 
)

◆ hipsparsecreateidentitypermutation_rank_1()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsecreateidentitypermutation::hipsparsecreateidentitypermutation_rank_1 ( type(c_ptr)  handle,
integer(c_int)  n,
integer(c_int), dimension(:), target  p 
)

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