Skip to content

ContinuumIO/numba-hsa-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Numba HSA Examples

This repository contains several example of HSA GPU programming using numba.

System Requirements

HSA requires 64-bit linux machines with specific platform requirements. See https://github.com/HSAFoundation/HSA-Docs-AMD/wiki/HSA-Platforms-&-Installation for details.

Installation

The installation requires the use of conda. Please follow the instruction at http://conda.pydata.org/docs/installation.html to install conda.

Once conda is installed, user can create a conda environment with numba and all the dependencies necessary to run the examples using the following command:

conda create --name hsa_examples_env --file env_spec.txt

To activate the environment, run

source activate hsa_examples_env

Run Tests

Run full test suite:

./runtests.sh

Selectively run tests from subdirectories:

./runtests.sh <subdirectory>

Example:

./runtests.sh numba_hsa_examples/kerneldensity

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages