Monday, October 26, 2020

Quick Review of NUMBA Code from GTC 2020

After everything started working (I assume) on my workstation!

In the code below, the hypot is implemented and execution time for three different implementations are calculated. 



In the code below, arrays on CPU and GPU are declared through numpy and cupy, respectively.


In the code below, a universal function is defined and execution time is calculated.


Reference: 

https://github.com/ContinuumIO/gtc2020-numba 

No comments:

Post a Comment