codecircuit / stencil

Simple GPU Stencil Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple GPU Stencil Code

This repository provides a simple intuitive self written GPU Stencil Code. Its purpose is to represent a simple stereotypical GPU Stencil Code. The CPU code is written in CUDA driver API and the device code in openCL. You can compile the code with the clang compiler plus an openCL library. Moreover you need the nvptx64--nvidiacl driver interface for the nvptx backend. You might find http://stackoverflow.com/questions/8795114/how-to-use-clang-to-compile-opencl-to-ptx-code helpful.

About

Simple GPU Stencil Code


Languages

Language:C++ 81.8%Language:Makefile 14.9%Language:C 3.3%