tag:blogger.com,1999:blog-1056780317554890350.post2743212184791859554..comments2023-11-05T12:24:58.272+01:00Comments on GPU/OpenCL Modeling: OpenCL Kernel for Scalar Product with Atomic OperationsWendell Rodrigueshttp://www.blogger.com/profile/07091231311994227526noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-1056780317554890350.post-50711317725397457502011-03-30T19:03:43.247+02:002011-03-30T19:03:43.247+02:00I think this code is incorrect in some cases and s...I think this code is incorrect in some cases and sub-optimal. Sub-optimal, because the actual reduction interleaves threads in a wave front/warp that work and wait instead of grouping them together (see the NVIDIA SDK reduction example for a better loop).<br />Incorrect, because it lacks a read and a write memory fence ([read|write]_mem_fence() funcs) in the reduction loop. The unlocking atomic does not solve this and can be a normal write when properly fenced. The barrier inserted after the FLAG init also does not guarantee proper init for every thread.<br />Don't know about the resource error Frederic mentions.<br />(I know this entry is old, but it tops google for certain queries.)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1056780317554890350.post-1881965814579399902010-04-04T12:52:28.125+02:002010-04-04T12:52:28.125+02:00Hi!
This Compare and swap method looks really gre...Hi!<br /><br />This Compare and swap method looks really great but are you sure it works?<br /><br />I always get an out of resource error...<br /><br />greetingsUnknownhttps://www.blogger.com/profile/08890099164671416736noreply@blogger.comtag:blogger.com,1999:blog-1056780317554890350.post-49709056872211443802010-01-29T08:07:56.220+01:002010-01-29T08:07:56.220+01:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1056780317554890350.post-33240905725345943872010-01-16T06:23:56.735+01:002010-01-16T06:23:56.735+01:00Obrigada pela visita!!
Entao vc consegue visualiza...Obrigada pela visita!!<br />Entao vc consegue visualizar neh? hahaha<br />Pois entao, depois que o Antonio ficou dodoi as mulheres se acharam no direito de tentar ser minhas amigas,pior de infancia. E isso eh para servir em quem se identificar.Cheirim Frances..:)Cravo e Canelahttps://www.blogger.com/profile/09018814012256207669noreply@blogger.com