Skip to content

This is my Hello World application for OpenCL, using the LWJGL framework to handle the native calls. It is actually more of a "Hello Solar System" as it does a few things. First, it polls all platforms and devices and lists basic stats about your system. Second, it performs a vector addition. The kernel is loaded from a resource file, rather tha…

Notifications You must be signed in to change notification settings

sprig/opencl-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello OpenCL World

by Jeff Heaton (http://www.jeffheaton.com)

This is my Hello World application for OpenCL, using the LWJGL framework to handle the native calls. It is actually more of a "Hello Solar System" as it does a few things. First, it polls all platforms and devices and lists basic stats about your system. Second, it performs a vector addition. The kernel is loaded from a resource file, rather than the usual hard-coding you see in many examples. This project uses Gradle. See the README for instructions on how to run this.

This example makes use of Gradle. It is not necessary to have Gradle installed, just use the wrapper. To use the wraper just use the "gradlew" command.

To run this application simply issue the command:

gradlew run

About

This is my Hello World application for OpenCL, using the LWJGL framework to handle the native calls. It is actually more of a "Hello Solar System" as it does a few things. First, it polls all platforms and devices and lists basic stats about your system. Second, it performs a vector addition. The kernel is loaded from a resource file, rather tha…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published