CudaBlasContext

Models & Types · AiDotNet.Tensors.Engines

No summary documentation available yet.

Implements: IDisposable

Constructors

Constructor Summary
CudaBlasContext(int deviceId)

Properties

Property Summary
IntPtr CublasHandle { get; }
bool IsValid { get; }

Methods

Method Summary
CudaDeviceMemory<T> Allocate(long count)
void CopyToDevice(CudaDeviceMemory<T> dst, ReadOnlySpan<T> src)
void CopyToDevice(CudaDeviceMemory<T> dst, T[] src)
void CopyToHost(Span<T> dst, CudaDeviceMemory<T> src)
void CopyToHost(T[] dst, CudaDeviceMemory<T> src)
void Dgemm(CublasOperation transa, CublasOperation transb, int m, int n, int k, double alpha, CudaDeviceMemory<double> A, int lda, CudaDeviceMemory<double> B, int ldb, double beta, CudaDeviceMemory<double> C, int ldc)
void Dispose()
void Sgemm(CublasOperation transa, CublasOperation transb, int m, int n, int k, float alpha, CudaDeviceMemory<float> A, int lda, CudaDeviceMemory<float> B, int ldb, float beta, CudaDeviceMemory<float> C, int ldc)
void Synchronize()