From 9c6e309073af0f262ee55f81eddd312c72e9d551 Mon Sep 17 00:00:00 2001 From: Adarsh Yoga Date: Wed, 5 Apr 2023 18:41:21 +0000 Subject: [PATCH] removing rambo numba_dpex_n --- .../benchmarks/rambo/rambo_numba_dpex_n.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 dpbench/benchmarks/rambo/rambo_numba_dpex_n.py diff --git a/dpbench/benchmarks/rambo/rambo_numba_dpex_n.py b/dpbench/benchmarks/rambo/rambo_numba_dpex_n.py deleted file mode 100644 index 4d00ee60..00000000 --- a/dpbench/benchmarks/rambo/rambo_numba_dpex_n.py +++ /dev/null @@ -1,19 +0,0 @@ -# SPDX-FileCopyrightText: 2022 - 2023 Intel Corporation -# -# SPDX-License-Identifier: Apache-2.0 - -import numba as nb -import numpy as np - - -@nb.njit(parallel=True, fastmath=True) -def rambo(nevts, nout, C1, F1, Q1, output): - C = 2.0 * C1 - 1.0 - S = np.sqrt(1 - np.square(C)) - F = 2.0 * np.pi * F1 - Q = -np.log(Q1) - - output[:, :, 0] = Q - output[:, :, 1] = Q * S * np.sin(F) - output[:, :, 2] = Q * S * np.cos(F) - output[:, :, 3] = Q * C