nanopyx.core.utils.mandelbrot_benchmark
def
check_acceleration(size: int = 128):
5def check_acceleration(size: int = 128): 6 """ 7 Check the acceleration of the opencl vs cython version 8 :param size: size of the image 9 :return: tuple of images 10 """ 11 bench = MandelbrotBenchmark() 12 images = bench.benchmark(size=size) 13 return images
Check the acceleration of the opencl vs cython version
Parameters
- size: size of the image
Returns
tuple of images