The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

jb4652 (9) [Avatar] Offline
#1
On my Intel Core 2 Duo T9500@2.6GHz(SDK2012, VS2010, Debug/Release)
and
Nvidia Quadro FX 3600M(GPU Computing SDK 4.1, VS2010, Debug/Release)
The ave time for clEnqueueReadBuffer is around 80000-90000, while ave time for clEnqueueMapBuffer is 200000+
By Google, I found most people said that clEnqueueMapBuffer is faster as stated in the book.
Anyone has the same problem?

Thanks.
PetrSchreiber (2) [Avatar] Offline
#2
Re: Who is faster in Listing 7.6?
It seems to differ on various devices.

On NVIDIA G210M I get this (mapping slightly slower):
clEnqueueReadBuffer: 91957
clEnqueueMapBuffer: 94451


On Intel Core 2 Duo T6600 I get this (mapping brutally faster)
clEnqueueReadBuffer: 28042
clEnqueueMapBuffer: 1684



Petr