Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
grace-cuda provides Grace bindings to CUDA, a GPU processing system
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
grace-cuda provides Grace bindings to CUDA, a GPU processing system To compile CUDA code you will need to enable the cudap compiler plugin using the -XPlugin=cudap option to minigrace. cudap will need to be in the dynamic search path of minigrace -- the two simplest locations are either the current directory or next to minigrace itself, which is where `make install` will put it. grace-cuda also requires a directory "_cuda" to be found in the current directory, in which the generated CUDA kernel files will be stored. There are some small sample programs using grace-cuda in the samples directory. To build them all, run `make samples` and then run each as (e.g.) `samples/matrix`. Each sample includes a brief description at the top. If your Minigrace or CUDA installations are different than expected you will need to specify one or more of the variables found at the top of the Makefile. These bindings are intended for use with Minigrace, a compiler for Grace. Minigrace is available from <https://github.com/mwh/minigrace> or <http://ecs.vuw.ac.nz/~mwh/minigrace/>. Licensing --------- This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.