OpenCL 2.0 Shared Virtual Memory Code Sample

Download DocumentDownload Code Sample

This sample demonstrates the fundamentals of using Shared Virtual Memory (SVM) capabilities in OpenCL™ applications. The SVM Basic code sample uses the OpenCL 2.0 APIs to query SVM support and manage SVM allocations for the selected OpenCL 2.0 device. The sample code implements an algorithm to demonstrate pointer sharing between host and device with OpenCL SVM features. Advanced topics like use of atomics within SVM allocations and associated performance considerations are out of the scope of this tutorial.

Supported OS: Windows* OS
Complexity Level: Novice

For more information about the sample refer to the sample documentation inside the package.

* OpenCL and the OpenCL logo are trademarks of Apple Inc. used by permission by Khronos.

For more complete information about compiler optimizations, see our Optimization Notice.

6 comments

Top

Where to download 

Using OpenCL™ Code Builder Standalone Version

?

The code has been recently updated.

The code still has the same issue. The SVMBasicFineGrained sample is the same as SVMBasicCoarseGrained.

It seems that sample in folder SVMBasicFineGrained is the same as SVMBasicCoarseGrained.

Is there any mistake?

Hi Ryan,

Fixed the issue. The code sample should be available now

Can't download the code sample. The message shows:

"We couldn't find what you were looking for." ...?

Add a Comment

Have a technical question? Visit our forums. Have site or software product issues? Contact support.