CUDALink`
CUDALink`

CUDATranspose

CUDATranspose[cumat]

transposes input CUDA matrix cumat.

CUDATranspose[mat]

transposes input matrix mat.

CUDATranspose[mem]

transposes input CUDAMemory mem.

Details and Options

  • The CUDALink application must be loaded using Needs["CUDALink`"].
  • CUDATranspose works on CUDAMatrix.
  • CUDATranspose works on matrices.
  • CUDATranspose works with binary or grayscale images.
  • CUDATranspose works with CUDAMemory, but cannot work on fixed vector struct types like "Float[2]", "Integer32[2]", .
  • CUDATranspose does not work on symbolic input.
  • CUDATranspose is equivalent to Transpose.

Examples

open allclose all

Basic Examples  (3)

First, load the CUDALink application:

This transposes a CUDA matrix

This transposes an input matrix:

If input is CUDAMemory, then memory is returned as output:

The transposes the input CUDAMemory:

Memory is retrieved using CUDAMemoryGet:

Scope  (2)

Input can be an image, but must be single-channeled:

Image components can be split and transposed independently:

The resulting color-separated image can be combined:

Wolfram Research (2010), CUDATranspose, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/CUDATranspose.html.

Text

Wolfram Research (2010), CUDATranspose, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/CUDATranspose.html.

CMS

Wolfram Language. 2010. "CUDATranspose." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/CUDATranspose.html.

APA

Wolfram Language. (2010). CUDATranspose. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/CUDALink/ref/CUDATranspose.html

BibTeX

@misc{reference.wolfram_2024_cudatranspose, author="Wolfram Research", title="{CUDATranspose}", year="2010", howpublished="\url{https://reference.wolfram.com/language/CUDALink/ref/CUDATranspose.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_cudatranspose, organization={Wolfram Research}, title={CUDATranspose}, year={2010}, url={https://reference.wolfram.com/language/CUDALink/ref/CUDATranspose.html}, note=[Accessed: 21-November-2024 ]}