clBLAS-client1
Program to test different options for the opencl blas library
Overview
clBLAS client command line options:
-
-h [ --help ] -
produces this help message
-
-g [ --gpu ] -
Force instantiation of an OpenCL GPU device
-
-c [ --cpu ] -
Force instantiation of an OpenCL CPU device
-
-a [ --all ] -
Force instantiation of all OpenCL devices
-
--useimages -
Use an image-based kernel
-m[--sizem] arg (=128)-
Number of rows in A and C
-n[--sizen] arg (=128)-
Number of columns in B and C
-k[--sizek] arg (=128)-
Number of columns in A and rows in B
--ldaarg (=0)-
First dimension of A in memory.
if set to 0, lda will default to M (when transposeA is "no transpose")
or K (otherwise)
--ldbarg (=0)-
First dimension of B in memory.
if set to 0, ldb will default to K (when transposeB is "no transpose")
or N (otherwise)
--ldcarg (=0)-
First dimension of C in memory.
if set to 0, ldc will default to M
--offAarg (=0)-
Offset of the matrix A in memory object
--offBXarg (=0)-
Offset of the matrix B or vector X in memory object
--offCYarg (=0)-
Offset of the matrix C or vector Y in memory object
--alphaarg (=1)-
Specifies the scalar alpha
--betaarg (=1)-
Specifies the scalar beta
-o[--order] arg (=0)-
0 = row major, 1 = column major
--transposeAarg (=0)-
0 = no transpose, 1 = transpose, 2 = conjugate transpose
--transposeBarg (=0)-
0 = no transpose, 1 = transpose, 2 = conjugate transpose
-f[--function] arg (=gemm)-
BLAS function to test.
Options: gemm, trsm, trmm, gemv, symv, syrk, syr2k
-r[--precision] arg (=s)-
Options: s,d,c,z
--sidearg (=0)-
0 = left, 1 = right.
only used with [list of function families]
--uploarg (=0)-
0 = upper, 1 = lower.
only used with [list of function families]
--diagarg (=0)-
0 = unit diagonal, 1 = non unit diagonal.
only used with [list of function families]
-p[--profile] arg (=20)-
Time and report the kernel speed (default: profiling off)
--roundtriparg (=noroundtrip)-
Including the time of OpenCL memory allocation and transportation
Options: roundtrip, noroundtrip(default)
--memallocarg (=default)-
Setting the memory allocation flags for OpenCL
no effect if roundtrip time is not measured
Options: default(default), alloc_host_ptr, use_host_ptr,
copy_host_ptr, use_persistent_mem_amd, rect_mem
Releases
Unchanged in 2 releases since Debian 9 (Stretch).