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

OpenCLMemoryCopyToDevice

OpenCLMemoryCopyToDevice[mem]
force copies OpenCLMemory from the CPU to the GPU.
  • The OpenCLLink application must be loaded using Needs.
First, load the OpenCLLink application:
This loads the Range list into OpenCLLink:
This gives information about the returned memory. Notice how the is :
This forces a copy from the host memory (CPU) to the device memory (GPU):
This gives information about the returned memory. Notice how both and are :
First, load the OpenCLLink application:
In[1]:=
Click for copyable input
This loads the Range list into OpenCLLink:
In[2]:=
Click for copyable input
Out[2]=
This gives information about the returned memory. Notice how the is :
In[3]:=
Click for copyable input
Out[3]=
This forces a copy from the host memory (CPU) to the device memory (GPU):
In[4]:=
Click for copyable input
Out[4]=
This gives information about the returned memory. Notice how both and are :
In[5]:=
Click for copyable input
Out[5]=
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF