CUDATranspose
This feature is not supported on the Wolfram Cloud.

CUDATranspose[mat]
transposes input matrix mat.

CUDATranspose[mem]
transposes input CUDAMemory mem.

更多信息更多信息

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

范例范例打开所有单元关闭所有单元

基本范例  (2)基本范例  (2)

First, load the CUDALink application:

In[1]:=
Click for copyable input

This transposes an input matrix:

In[2]:=
Click for copyable input
Out[2]//MatrixForm=

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

In[1]:=
Click for copyable input
Out[1]=

The transposes the input CUDAMemory:

In[2]:=
Click for copyable input
Out[2]=

Memory is retrieved using CUDAMemoryGet:

In[3]:=
Click for copyable input
Out[3]=