srccode
srccode

Reputation: 751

Atomic operation between integrated GPU and CPU

Hi I'm working on developing an application, which involves working on shared data between GPU and CPU. I know I can do atomic operation GPU and CPU separately. And also I don't want to use event synchronized between CPU and GPU. Is there any way/command so that I can do atomic operation on shared data between CPU and integrated GPU in OpenCL?

Upvotes: 0

Views: 649

Answers (1)

mogu
mogu

Reputation: 1129

It's possible but there are preconditions. You'll need a device supporting OpenCL 2.0 or higher (Intel, AMD and ARM all have such devices, i dunno about Nvidia). To get started, look here,here and here.

Upvotes: 1

Related Questions