Skip to content

Automatically exported from code.google.com/p/opencl-book-samples

Notifications You must be signed in to change notification settings

feijiang1/opencl-book-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo OpenCL Programming Guide 1.2 Examples

This project contains all of the source code to the example programs from the OpenCL Programming Guide. Instructions on checking out the source code and building it on various platforms can be found on the Installation page.

This book is getting old now and I'm pleased to say that we are working on new version that will cover OpenCL 2.1; more information soon.

Compiling in Celadon Q

1, clone code under Celadon Q's hardware/intel/external/opencl

git clone [email protected]:feijiang1/opencl-book-samples.git

2, compile

mmm hardware/intel/external/opencl/opencl-book-samples/

3, push binary and shader

adb push out/target/product/celadon_tablet/vendor/bin/HelloWorld /vendor/bin/

adb push hardware/intel/external/opencl/opencl-book-samples/src/Chapter_2/HelloWorld/HelloWorld.cl /vendor/bin/

4, execute

adb shell

/vendor/bin/HelloWorld

You need see "Executed program succesfully" to indicate it is executed successfully.

About

Automatically exported from code.google.com/p/opencl-book-samples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 73.2%
  • C 22.6%
  • CMake 2.9%
  • Other 1.3%