SYRK - Symmetric rank-k update of a matrix

pyclblas.clblasCsyrk(order, uplo, transA, N, K, alpha, A, offA, lda, beta, C, offC, ldc, commandQueues, eventWaitList)

wraps: clblasCsyrk

Rank-k update of a symmetric matrix with complex float elements. Extended version. Rank-k updates:

  • ( C ← α A AT+ β C )
  • ( C ← α ATA + β C )
where C is a symmetric matrix.
Parameters:
  • order (clblasOrder [in]) – Row/column order.
  • uplo (clblasUplo [in]) – The triangle in matrix C being referenced.
  • transA (clblasTranspose [in]) – How matrix A is to be transposed.
  • N (int [in]) – Number of rows and columns in matrix C.
  • K (int [in]) – Number of columns of the matrix A if it is not transposed, and number of rows otherwise.
  • alpha (complex [in]) – The factor of matrix A.
  • A (pyopencl.Buffer [in]) – Buffer object storing the matrix A.
  • offA (int [in]) – Offset of the first element of the matrix A in the buffer object. Counted in elements.
  • lda (int [in]) – Leading dimension of matrix A.
  • beta (complex [in]) – The factor of the matrix C.
  • C (pyopencl.Buffer [out]) – Buffer object storing matrix C.
  • offC (int [in]) – Offset of the first element of the matrix C in the buffer object. Counted in elements.
  • ldc (int [in]) – Leading dimension of matrix C. It cannot be less than N.
  • commandQueues (pyopencl.CommandQueue [in]) – OpenCL command queues. A list, tuple, or single instance of pyopencl.CommandQueue. Must not be None.
  • eventWaitList (pyopencl.Event [in]) – Event wait list. A list, tuple, or single instance of pyopencl.Event. May be None.
Returns:

A tuple of pyopencl.Event instances, one for each commandQueue supplied.

pyclblas.clblasDsyrk(order, uplo, transA, N, K, alpha, A, offA, lda, beta, C, offC, ldc, commandQueues, eventWaitList)

wraps: clblasDsyrk

Rank-k update of a symmetric matrix with double elements. Extended version. Rank-k updates:

  • ( C ← α A AT+ β C )
  • ( C ← α ATA + β C )
where C is a symmetric matrix.
Parameters:
  • order (clblasOrder [in]) – Row/column order.
  • uplo (clblasUplo [in]) – The triangle in matrix C being referenced.
  • transA (clblasTranspose [in]) – How matrix A is to be transposed.
  • N (int [in]) – Number of rows and columns in matrix C.
  • K (int [in]) – Number of columns of the matrix A if it is not transposed, and number of rows otherwise.
  • alpha (float [in]) – The factor of matrix A.
  • A (pyopencl.Buffer [in]) – Buffer object storing the matrix A.
  • offA (int [in]) – Offset of the first element of the matrix A in the buffer object. Counted in elements.
  • lda (int [in]) – Leading dimension of matrix A.
  • beta (float [in]) – The factor of the matrix C.
  • C (pyopencl.Buffer [out]) – Buffer object storing matrix C.
  • offC (int [in]) – Offset of the first element of the matrix C in the buffer object. Counted in elements.
  • ldc (int [in]) – Leading dimension of matrix C. It cannot be less than N.
  • commandQueues (pyopencl.CommandQueue [in]) – OpenCL command queues. A list, tuple, or single instance of pyopencl.CommandQueue. Must not be None.
  • eventWaitList (pyopencl.Event [in]) – Event wait list. A list, tuple, or single instance of pyopencl.Event. May be None.
Returns:

A tuple of pyopencl.Event instances, one for each commandQueue supplied.

pyclblas.clblasSsyrk(order, uplo, transA, N, K, alpha, A, offA, lda, beta, C, offC, ldc, commandQueues, eventWaitList)

wraps: clblasSsyrk

Rank-k update of a symmetric matrix with float elements. Extended version. Rank-k updates:

  • ( C ← α A AT+ β C )
  • ( C ← α ATA + β C )
where C is a symmetric matrix.
Parameters:
  • order (clblasOrder [in]) – Row/column order.
  • uplo (clblasUplo [in]) – The triangle in matrix C being referenced.
  • transA (clblasTranspose [in]) – How matrix A is to be transposed.
  • N (int [in]) – Number of rows and columns in matrix C.
  • K (int [in]) – Number of columns of the matrix A if it is not transposed, and number of rows otherwise.
  • alpha (float [in]) – The factor of matrix A.
  • A (pyopencl.Buffer [in]) – Buffer object storing the matrix A.
  • offA (int [in]) – Offset of the first element of the matrix A in the buffer object. Counted in elements.
  • lda (int [in]) – Leading dimension of matrix A. It cannot be less than K if A is in the row-major format, and less than N otherwise.
  • beta (float [in]) – The factor of the matrix C.
  • C (pyopencl.Buffer [out]) – Buffer object storing matrix C.
  • offC (int [in]) – Offset of the first element of the matrix C in the buffer object. Counted in elements.
  • ldc (int [in]) – Leading dimension of matric C. It cannot be less than N.
  • commandQueues (pyopencl.CommandQueue [in]) – OpenCL command queues. A list, tuple, or single instance of pyopencl.CommandQueue. Must not be None.
  • eventWaitList (pyopencl.Event [in]) – Event wait list. A list, tuple, or single instance of pyopencl.Event. May be None.
Returns:

A tuple of pyopencl.Event instances, one for each commandQueue supplied.

pyclblas.clblasZsyrk(order, uplo, transA, N, K, alpha, A, offA, lda, beta, C, offC, ldc, commandQueues, eventWaitList)

wraps: clblasZsyrk

Rank-k update of a symmetric matrix with complex double elements. Extended version. Rank-k updates:

  • ( C ← α A AT+ β C )
  • ( C ← α ATA + β C )
where C is a symmetric matrix.
Parameters:
  • order (clblasOrder [in]) – Row/column order.
  • uplo (clblasUplo [in]) – The triangle in matrix C being referenced.
  • transA (clblasTranspose [in]) – How matrix A is to be transposed.
  • N (int [in]) – Number of rows and columns in matrix C.
  • K (int [in]) – Number of columns of the matrix A if it is not transposed, and number of rows otherwise.
  • alpha (complex [in]) – The factor of matrix A.
  • A (pyopencl.Buffer [in]) – Buffer object storing the matrix A.
  • offA (int [in]) – Offset of the first element of the matrix A in the buffer object. Counted in elements.
  • lda (int [in]) – Leading dimension of matrix A.
  • beta (complex [in]) – The factor of the matrix C.
  • C (pyopencl.Buffer [out]) – Buffer object storing matrix C.
  • offC (int [in]) – Offset of the first element of the matrix C in the buffer object. Counted in elements.
  • ldc (int [in]) – Leading dimension of matrix C. It cannot be less than N.
  • commandQueues (pyopencl.CommandQueue [in]) – OpenCL command queues. A list, tuple, or single instance of pyopencl.CommandQueue. Must not be None.
  • eventWaitList (pyopencl.Event [in]) – Event wait list. A list, tuple, or single instance of pyopencl.Event. May be None.
Returns:

A tuple of pyopencl.Event instances, one for each commandQueue supplied.