I'm trying to follow the NumbaPro quickstart guide, but I'm getting an error when following the instructions.
Here is my situation:
- Python 2.7.6
- Cuda compilation tools v5.5.0
- conda 3.4.1
- accelerate 1.5.0
- Windows 7 Professional
- Nvidia GeForce card
My code:
from numbapro import vectorize, float32
@vectorize([float32(float32, float32)], target=’gpu’)
def sum(a, b):
return a + bnnn
And I'm getting the following errors:
UnboundLocalError: Local varriable 'CudaSupportError' referenced before assignment
Any idea how to fix this?