diff --git a/benchmark.py b/benchmark.py index f87a2197a5a307475eab124c61bb6489d1d689d4..266d998001a417e1c1c1d88c1bfc35974724a4ed 100644 --- a/benchmark.py +++ b/benchmark.py @@ -101,6 +101,4 @@ if __name__ == "__main__": if len(sys.argv) > 1: exec(sys.argv[1]) else: - benchmark_compute_flux_derivatives_gpu(cl._csc): - #from pytest import main - #main([__file__]) + benchmark_compute_flux_derivatives_gpu(cl._csc) diff --git a/fixtures.py b/fixtures.py index 3ec8efc07a3f773f769e019c2854b01b0a68236f..e28fa7da9a35ca058c6ee6847ee97cc4d8912fb9 100644 --- a/fixtures.py +++ b/fixtures.py @@ -12,7 +12,7 @@ _WENO_PRG = [] _QUEUE = [] def get_gpu_transformed_weno(): - prg = fixtures.get_weno_program() + prg = get_weno_program() cfd = prg["compute_flux_derivatives"]