code: public static int cusparseCreateIdentityPermutation(
          cusparseHandle handle, 
          int n, 
          Pointer p)
      {
          return checkResult(cusparseCreateIdentityPermutationNative(handle, n, p));
      }
docs: Description: Create a identity sequence p=[0,1,...,n-1].