This commit is contained in:
Florian Ballenegger 2020-07-24 15:38:48 +02:00
parent da0582f4f5
commit 78b8e6a8d3
3 changed files with 6 additions and 11 deletions

View File

@ -187,11 +187,6 @@ int BSIM3v32_ACM_junctionCapacitances
/*F.B: if data is not NULL, return to do calc in SIMD except if bypass
if data is NULL, just perform the whole model without SIMD */
#ifdef USE_OMP
#pragma message "Use OMP"
#else
#pragma message "Dont use OMP"
#endif
/*
prelim argument:

View File

@ -29,10 +29,6 @@
******************************************************************************/
#include <math.h>
#if USEX86INTRINSICS==1
#include <x86intrin.h>
#endif
#include <signal.h>
#include "ngspice/ngspice.h"
#include "ngspice/cktdefs.h"
@ -44,6 +40,10 @@
#include "ngspice/devdefs.h"
#include "ngspice/suffix.h"
#if USEX86INTRINSICS==1
#include <x86intrin.h>
#endif
#define MAX_EXP 5.834617425e14
#define MIN_EXP 1.713908431e-15
#define EXP_THRESHOLD 34.0
@ -79,14 +79,12 @@ int BSIM3v32LoadSIMD(BSIM3v32instance **heres, CKTcircuit *ckt
#if NSIMD==4
#ifdef USE_OMP
#pragma message "Use OMP SIMD4 version"
#include "b3v32ldseq_simd4d_omp.c"
#else
#include "b3v32ldseq_simd4d.c"
#endif
#elif NSIMD==8
#ifdef USE_OMP
#pragma message "Use OMP SIMD8 version"
#include "b3v32ldseq_simd8d_omp.c"
#else
#include "b3v32ldseq_simd8d.c"

View File

@ -21,6 +21,8 @@ File: bsim3v32def.h
#define NSIMD 4
#endif
#define OMP_EFFMEM
typedef struct sBSIM3v32instance
{