This file contains 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 sys | |
sys.path.append('../xnd-gpu') | |
from xnd_gpu import xnd_gpu | |
import gpu_func | |
from xnd import xnd | |
from gumath import functions as fn | |
import gumath as gm | |
import numpy as np |
This file contains 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 sys, time | |
import gumath as gm | |
import gumath.functions as fn | |
from xnd import xnd | |
import numpy as np | |
import gc | |
# | |
# The array sizes are for >=16GB of memory. Your system might freeze if |