Quantcast
Channel: Community : All Content - OpenCL
Viewing all articles
Browse latest Browse all 2400

data transfer between cpu and device

$
0
0

Hello forum,

 

I guess There are two ways to transfer data between cpu and gpu in OpenCL.

 

1. The Natural way - clEnqueueWriteBuffer() / clEnqueueReadBuffer()

 

2. Map/Unmap way - clEnqueueMapBuffer()

 

Which one is the better option for data transfer when large amount of data will be  involved?

 

Thanks

Sajjad


Viewing all articles
Browse latest Browse all 2400

Trending Articles