Beispiel #1
0
 /// <summary>
 ///
 /// </summary>
 public void SetStridedBatchCsr(int batchCount,
                                long offsetsBatchStride, long columnsValuesBatchStride)
 {
     res = CudaSparseNativeMethods.cusparseCsrSetStridedBatch(descr, batchCount, offsetsBatchStride, columnsValuesBatchStride);
     Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cusparseCsrSetStridedBatch", res));
     if (res != cusparseStatus.Success)
     {
         throw new CudaSparseException(res);
     }
 }