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