Skip to content

Unit03/gpgpu_talk

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

(py)OpenCL Examples

Used in (py)OpenCL on video cards: GPGPU intro talk (polish only).

Please note, you must have working OpenCL installed on your system, along with proper Installable Client Driver (ICD).

Python (2/3)

First, install dependencies:

pip install numpy pyopencl pytest

Use pure Python:

python examples/test_vectors_cl.py

or py.test to run all examples:

py.test

C

Go to examples directory, compile:

cd examples/
gcc -std=c99 vectors_cl.c -o vectors_cl -l OpenCL

and run:

./vectors_cl

About

(py)OpenCL - GPGPU intro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages