Skip to content

Instantly share code, notes, and snippets.

@lzamparo
Created March 25, 2013 20:30
Show Gist options
  • Save lzamparo/5240436 to your computer and use it in GitHub Desktop.
Save lzamparo/5240436 to your computer and use it in GitHub Desktop.
Output of gpu_from_host_test.py, with debugging info to print the function graph, when run as a job on a compute node
Run on 2013-03-25 12:50:38.972060
GpuElemwise{exp,no_inplace} [@A] <CudaNdarrayType(float32, vector)> '' 0
|<CudaNdarrayType(float32, vector)> [@B] <CudaNdarrayType(float32, vector)>
Looping 1000 times took 0.970016956329 seconds
Result is <CudaNdarray object at 0x55b8bf0>
Numpy result is [ 1.23178029 1.61879349 1.52278066 ..., 1.1295259 2.35500026
2.58820248]
Used the gpu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment