(This notebook contains code from a webinar showing how to use Python and Numba to write code that takes advantage of the GPU-capabilities on AMD APUs. For a recording of this webinar, see: )
This example requires:
The easiest way to test out the code in this notebook is to download Miniconda and run the following commands to create and activate a new environment:
conda create -n hsa_webinar python=3.4 numba libhlc pandas bokeh matplotlib basemap jupyter
source activate hsa_webinar
export LD_LIBRARY_PATH=/opt/hsa/lib
jupyter notebook
In [1]:
%matplotlib inline
import numpy as np
import pandas as pd
import numba.hsa
from bokeh.plotting import output_notebook, figure, show
from bokeh.models import NumeralTickFormatter
output_notebook()