git clone https://github.com/RadeonOpenCompute/rocm-cmake.git
mkdir bulid
cd build
cmake -DCMAKE_INSTALL_PREFIX=/opt/rocm ..
make
sudo make install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# import functions | |
from numpy import linspace | |
from scipy.integrate import odeint | |
#import pylab as pyl | |
import matplotlib.pyplot as plt | |
# define constants | |
init_cond = [0.3, -0.1] | |
t_init = 0.0 |