/// <summary> /// </summary> public CudaSparseColorInfo() { _info = new cusparseColorInfo(); res = CudaSparseNativeMethods.cusparseCreateColorInfo(ref _info); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cusparseCreateColorInfo", res)); if (res != cusparseStatus.Success) throw new CudaSparseException(res); }
/// <summary> /// </summary> public CudaSparseColorInfo() { _info = new cusparseColorInfo(); res = CudaSparseNativeMethods.cusparseCreateColorInfo(ref _info); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cusparseCreateColorInfo", res)); if (res != cusparseStatus.Success) { throw new CudaSparseException(res); } }
public static extern cusparseStatus cusparseZcsrcolor(cusparseContext handle, int m, int nnz, cusparseMatDescr descrA, CUdeviceptr csrSortedValA, CUdeviceptr csrSortedRowPtrA, CUdeviceptr csrSortedColIndA, CUdeviceptr fractionToColor, CUdeviceptr ncolors, CUdeviceptr coloring, CUdeviceptr reordering, cusparseColorInfo info);
public static extern cusparseStatus cusparseDestroyColorInfo(cusparseColorInfo info);
public static extern cusparseStatus cusparseCreateColorInfo(ref cusparseColorInfo info);
public static extern cusparseStatus cusparseSetColorAlgs(cusparseColorInfo info, cusparseColorAlg alg);