Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
CUDALink >

CUDAMemoryGet

CUDAMemoryGet[mem]
gets CUDAMemory into the CPU and Mathematica.
  • The CUDALink application must be loaded using Needs.
First, load the CUDALink application:
This registers Range with the CUDALink memory manager returning a handle to the memory:
This retrieves the memory:
Images can be loaded as CUDAMemory:
When CUDAMemory is retrieved, the original image is returned:
Graphics objects can be loaded as CUDAMemory:
The Graphics object is rasterized when loaded:
The head of the retrieved data is an Image:
First, load the CUDALink application:
In[1]:=
Click for copyable input
This registers Range with the CUDALink memory manager returning a handle to the memory:
In[2]:=
Click for copyable input
Out[2]=
This retrieves the memory:
In[3]:=
Click for copyable input
Out[3]=
 
Images can be loaded as CUDAMemory:
In[1]:=
Click for copyable input
Out[1]=
When CUDAMemory is retrieved, the original image is returned:
In[2]:=
Click for copyable input
Out[2]=
 
Graphics objects can be loaded as CUDAMemory:
In[1]:=
Click for copyable input
Out[1]=
The Graphics object is rasterized when loaded:
In[2]:=
Click for copyable input
Out[2]=
The head of the retrieved data is an Image:
In[3]:=
Click for copyable input
Out[3]=
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF