| Package | Description |
|---|---|
| org.bytedeco.cuda.cudart | |
| org.bytedeco.cuda.global |
| Modifier and Type | Method and Description |
|---|---|
__half |
__half.put(__half_raw hr) |
__half |
__half.put(double f) |
__half |
__half.put(float f) |
__half |
__half2.x() |
__half |
__half2.y() |
| Modifier and Type | Method and Description |
|---|---|
__half2 |
__half2.x(__half setter) |
__half2 |
__half2.y(__half setter) |
| Constructor and Description |
|---|
__half2(__half a,
__half b) |
| Modifier and Type | Method and Description |
|---|---|
static __half |
cudart.__double2half(double a)
\ingroup CUDA_MATH__HALF_MISC
\brief Converts double number to half precision in round-to-nearest-even mode
and returns \p half with converted value.
|
static __half |
cudart.__float2half_rd(float a)
\ingroup CUDA_MATH__HALF_MISC
\brief Converts float number to half precision in round-down mode
and returns \p half with converted value.
|
static __half |
cudart.__float2half_rn(float a)
\ingroup CUDA_MATH__HALF_MISC
\brief Converts float number to half precision in round-to-nearest-even mode
and returns \p half with converted value.
|
static __half |
cudart.__float2half_ru(float a)
\ingroup CUDA_MATH__HALF_MISC
\brief Converts float number to half precision in round-up mode
and returns \p half with converted value.
|
static __half |
cudart.__float2half_rz(float a)
\ingroup CUDA_MATH__HALF_MISC
\brief Converts float number to half precision in round-towards-zero mode
and returns \p half with converted value.
|
static __half |
cudart.__float2half(float a)
\ingroup CUDA_MATH__HALF_MISC
\brief Converts float number to half precision in round-to-nearest-even mode
and returns \p half with converted value.
|
| Modifier and Type | Method and Description |
|---|---|
static float |
cudart.__half2float(__half a)
\ingroup CUDA_MATH__HALF_MISC
\brief Converts \p half number to float.
|
static int |
cublas.cublasHgemm(cublasContext handle,
int transa,
int transb,
int m,
int n,
int k,
__half alpha,
__half A,
int lda,
__half B,
int ldb,
__half beta,
__half C,
int ldc) |
static int |
cublas.cublasHgemmBatched(cublasContext handle,
int transa,
int transb,
int m,
int n,
int k,
__half alpha,
__half Aarray,
int lda,
__half Barray,
int ldb,
__half beta,
__half Carray,
int ldc,
int batchCount) |
static int |
cublas.cublasHgemmBatched(cublasContext handle,
int transa,
int transb,
int m,
int n,
int k,
__half alpha,
PointerPointer Aarray,
int lda,
PointerPointer Barray,
int ldb,
__half beta,
PointerPointer Carray,
int ldc,
int batchCount) |
static int |
cublas.cublasHgemmStridedBatched(cublasContext handle,
int transa,
int transb,
int m,
int n,
int k,
__half alpha,
__half A,
int lda,
long strideA,
__half B,
int ldb,
long strideB,
__half beta,
__half C,
int ldc,
long strideC,
int batchCount) |
static int |
cusparse.cusparseHpruneCsr2csr_bufferSizeExt(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
int[] csrSortedRowPtrA,
int[] csrSortedColIndA,
__half threshold,
cusparseMatDescr descrC,
__half csrSortedValC,
int[] csrSortedRowPtrC,
int[] csrSortedColIndC,
SizeTPointer pBufferSizeInBytes) |
static int |
cusparse.cusparseHpruneCsr2csr_bufferSizeExt(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
IntBuffer csrSortedRowPtrA,
IntBuffer csrSortedColIndA,
__half threshold,
cusparseMatDescr descrC,
__half csrSortedValC,
IntBuffer csrSortedRowPtrC,
IntBuffer csrSortedColIndC,
SizeTPointer pBufferSizeInBytes) |
static int |
cusparse.cusparseHpruneCsr2csr_bufferSizeExt(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
IntPointer csrSortedRowPtrA,
IntPointer csrSortedColIndA,
__half threshold,
cusparseMatDescr descrC,
__half csrSortedValC,
IntPointer csrSortedRowPtrC,
IntPointer csrSortedColIndC,
SizeTPointer pBufferSizeInBytes) |
static int |
cusparse.cusparseHpruneCsr2csr(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
int[] csrSortedRowPtrA,
int[] csrSortedColIndA,
__half threshold,
cusparseMatDescr descrC,
__half csrSortedValC,
int[] csrSortedRowPtrC,
int[] csrSortedColIndC,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneCsr2csr(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
IntBuffer csrSortedRowPtrA,
IntBuffer csrSortedColIndA,
__half threshold,
cusparseMatDescr descrC,
__half csrSortedValC,
IntBuffer csrSortedRowPtrC,
IntBuffer csrSortedColIndC,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneCsr2csr(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
IntPointer csrSortedRowPtrA,
IntPointer csrSortedColIndA,
__half threshold,
cusparseMatDescr descrC,
__half csrSortedValC,
IntPointer csrSortedRowPtrC,
IntPointer csrSortedColIndC,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneCsr2csrByPercentage_bufferSizeExt(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
int[] csrSortedRowPtrA,
int[] csrSortedColIndA,
float percentage,
cusparseMatDescr descrC,
__half csrSortedValC,
int[] csrSortedRowPtrC,
int[] csrSortedColIndC,
pruneInfo info,
SizeTPointer pBufferSizeInBytes) |
static int |
cusparse.cusparseHpruneCsr2csrByPercentage_bufferSizeExt(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
IntBuffer csrSortedRowPtrA,
IntBuffer csrSortedColIndA,
float percentage,
cusparseMatDescr descrC,
__half csrSortedValC,
IntBuffer csrSortedRowPtrC,
IntBuffer csrSortedColIndC,
pruneInfo info,
SizeTPointer pBufferSizeInBytes) |
static int |
cusparse.cusparseHpruneCsr2csrByPercentage_bufferSizeExt(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
IntPointer csrSortedRowPtrA,
IntPointer csrSortedColIndA,
float percentage,
cusparseMatDescr descrC,
__half csrSortedValC,
IntPointer csrSortedRowPtrC,
IntPointer csrSortedColIndC,
pruneInfo info,
SizeTPointer pBufferSizeInBytes) |
static int |
cusparse.cusparseHpruneCsr2csrByPercentage(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
int[] csrSortedRowPtrA,
int[] csrSortedColIndA,
float percentage,
cusparseMatDescr descrC,
__half csrSortedValC,
int[] csrSortedRowPtrC,
int[] csrSortedColIndC,
pruneInfo info,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneCsr2csrByPercentage(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
IntBuffer csrSortedRowPtrA,
IntBuffer csrSortedColIndA,
float percentage,
cusparseMatDescr descrC,
__half csrSortedValC,
IntBuffer csrSortedRowPtrC,
IntBuffer csrSortedColIndC,
pruneInfo info,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneCsr2csrByPercentage(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
IntPointer csrSortedRowPtrA,
IntPointer csrSortedColIndA,
float percentage,
cusparseMatDescr descrC,
__half csrSortedValC,
IntPointer csrSortedRowPtrC,
IntPointer csrSortedColIndC,
pruneInfo info,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneCsr2csrNnz(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
int[] csrSortedRowPtrA,
int[] csrSortedColIndA,
__half threshold,
cusparseMatDescr descrC,
int[] csrSortedRowPtrC,
int[] nnzTotalDevHostPtr,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneCsr2csrNnz(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
IntBuffer csrSortedRowPtrA,
IntBuffer csrSortedColIndA,
__half threshold,
cusparseMatDescr descrC,
IntBuffer csrSortedRowPtrC,
IntBuffer nnzTotalDevHostPtr,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneCsr2csrNnz(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
IntPointer csrSortedRowPtrA,
IntPointer csrSortedColIndA,
__half threshold,
cusparseMatDescr descrC,
IntPointer csrSortedRowPtrC,
IntPointer nnzTotalDevHostPtr,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneCsr2csrNnzByPercentage(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
int[] csrSortedRowPtrA,
int[] csrSortedColIndA,
float percentage,
cusparseMatDescr descrC,
int[] csrSortedRowPtrC,
int[] nnzTotalDevHostPtr,
pruneInfo info,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneCsr2csrNnzByPercentage(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
IntBuffer csrSortedRowPtrA,
IntBuffer csrSortedColIndA,
float percentage,
cusparseMatDescr descrC,
IntBuffer csrSortedRowPtrC,
IntBuffer nnzTotalDevHostPtr,
pruneInfo info,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneCsr2csrNnzByPercentage(cusparseContext handle,
int m,
int n,
int nnzA,
cusparseMatDescr descrA,
__half csrSortedValA,
IntPointer csrSortedRowPtrA,
IntPointer csrSortedColIndA,
float percentage,
cusparseMatDescr descrC,
IntPointer csrSortedRowPtrC,
IntPointer nnzTotalDevHostPtr,
pruneInfo info,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneDense2csr_bufferSizeExt(cusparseContext handle,
int m,
int n,
__half A,
int lda,
__half threshold,
cusparseMatDescr descrC,
__half csrSortedValC,
int[] csrSortedRowPtrC,
int[] csrSortedColIndC,
SizeTPointer pBufferSizeInBytes) |
static int |
cusparse.cusparseHpruneDense2csr_bufferSizeExt(cusparseContext handle,
int m,
int n,
__half A,
int lda,
__half threshold,
cusparseMatDescr descrC,
__half csrSortedValC,
IntBuffer csrSortedRowPtrC,
IntBuffer csrSortedColIndC,
SizeTPointer pBufferSizeInBytes) |
static int |
cusparse.cusparseHpruneDense2csr_bufferSizeExt(cusparseContext handle,
int m,
int n,
__half A,
int lda,
__half threshold,
cusparseMatDescr descrC,
__half csrSortedValC,
IntPointer csrSortedRowPtrC,
IntPointer csrSortedColIndC,
SizeTPointer pBufferSizeInBytes) |
static int |
cusparse.cusparseHpruneDense2csr(cusparseContext handle,
int m,
int n,
__half A,
int lda,
__half threshold,
cusparseMatDescr descrC,
__half csrSortedValC,
int[] csrSortedRowPtrC,
int[] csrSortedColIndC,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneDense2csr(cusparseContext handle,
int m,
int n,
__half A,
int lda,
__half threshold,
cusparseMatDescr descrC,
__half csrSortedValC,
IntBuffer csrSortedRowPtrC,
IntBuffer csrSortedColIndC,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneDense2csr(cusparseContext handle,
int m,
int n,
__half A,
int lda,
__half threshold,
cusparseMatDescr descrC,
__half csrSortedValC,
IntPointer csrSortedRowPtrC,
IntPointer csrSortedColIndC,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneDense2csrByPercentage_bufferSizeExt(cusparseContext handle,
int m,
int n,
__half A,
int lda,
float percentage,
cusparseMatDescr descrC,
__half csrSortedValC,
int[] csrSortedRowPtrC,
int[] csrSortedColIndC,
pruneInfo info,
SizeTPointer pBufferSizeInBytes) |
static int |
cusparse.cusparseHpruneDense2csrByPercentage_bufferSizeExt(cusparseContext handle,
int m,
int n,
__half A,
int lda,
float percentage,
cusparseMatDescr descrC,
__half csrSortedValC,
IntBuffer csrSortedRowPtrC,
IntBuffer csrSortedColIndC,
pruneInfo info,
SizeTPointer pBufferSizeInBytes) |
static int |
cusparse.cusparseHpruneDense2csrByPercentage_bufferSizeExt(cusparseContext handle,
int m,
int n,
__half A,
int lda,
float percentage,
cusparseMatDescr descrC,
__half csrSortedValC,
IntPointer csrSortedRowPtrC,
IntPointer csrSortedColIndC,
pruneInfo info,
SizeTPointer pBufferSizeInBytes) |
static int |
cusparse.cusparseHpruneDense2csrByPercentage(cusparseContext handle,
int m,
int n,
__half A,
int lda,
float percentage,
cusparseMatDescr descrC,
__half csrSortedValC,
int[] csrSortedRowPtrC,
int[] csrSortedColIndC,
pruneInfo info,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneDense2csrByPercentage(cusparseContext handle,
int m,
int n,
__half A,
int lda,
float percentage,
cusparseMatDescr descrC,
__half csrSortedValC,
IntBuffer csrSortedRowPtrC,
IntBuffer csrSortedColIndC,
pruneInfo info,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneDense2csrByPercentage(cusparseContext handle,
int m,
int n,
__half A,
int lda,
float percentage,
cusparseMatDescr descrC,
__half csrSortedValC,
IntPointer csrSortedRowPtrC,
IntPointer csrSortedColIndC,
pruneInfo info,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneDense2csrNnz(cusparseContext handle,
int m,
int n,
__half A,
int lda,
__half threshold,
cusparseMatDescr descrC,
int[] csrRowPtrC,
int[] nnzTotalDevHostPtr,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneDense2csrNnz(cusparseContext handle,
int m,
int n,
__half A,
int lda,
__half threshold,
cusparseMatDescr descrC,
IntBuffer csrRowPtrC,
IntBuffer nnzTotalDevHostPtr,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneDense2csrNnz(cusparseContext handle,
int m,
int n,
__half A,
int lda,
__half threshold,
cusparseMatDescr descrC,
IntPointer csrRowPtrC,
IntPointer nnzTotalDevHostPtr,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneDense2csrNnzByPercentage(cusparseContext handle,
int m,
int n,
__half A,
int lda,
float percentage,
cusparseMatDescr descrC,
int[] csrRowPtrC,
int[] nnzTotalDevHostPtr,
pruneInfo info,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneDense2csrNnzByPercentage(cusparseContext handle,
int m,
int n,
__half A,
int lda,
float percentage,
cusparseMatDescr descrC,
IntBuffer csrRowPtrC,
IntBuffer nnzTotalDevHostPtr,
pruneInfo info,
Pointer pBuffer) |
static int |
cusparse.cusparseHpruneDense2csrNnzByPercentage(cusparseContext handle,
int m,
int n,
__half A,
int lda,
float percentage,
cusparseMatDescr descrC,
IntPointer csrRowPtrC,
IntPointer nnzTotalDevHostPtr,
pruneInfo info,
Pointer pBuffer) |
Copyright © 2020. All rights reserved.