cleanup
This commit is contained in:
parent
da0582f4f5
commit
78b8e6a8d3
|
|
@ -187,11 +187,6 @@ int BSIM3v32_ACM_junctionCapacitances
|
||||||
|
|
||||||
/*F.B: if data is not NULL, return to do calc in SIMD except if bypass
|
/*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 */
|
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:
|
prelim argument:
|
||||||
|
|
|
||||||
|
|
@ -29,10 +29,6 @@
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#if USEX86INTRINSICS==1
|
|
||||||
#include <x86intrin.h>
|
|
||||||
#endif
|
|
||||||
#include <signal.h>
|
|
||||||
|
|
||||||
#include "ngspice/ngspice.h"
|
#include "ngspice/ngspice.h"
|
||||||
#include "ngspice/cktdefs.h"
|
#include "ngspice/cktdefs.h"
|
||||||
|
|
@ -44,6 +40,10 @@
|
||||||
#include "ngspice/devdefs.h"
|
#include "ngspice/devdefs.h"
|
||||||
#include "ngspice/suffix.h"
|
#include "ngspice/suffix.h"
|
||||||
|
|
||||||
|
#if USEX86INTRINSICS==1
|
||||||
|
#include <x86intrin.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MAX_EXP 5.834617425e14
|
#define MAX_EXP 5.834617425e14
|
||||||
#define MIN_EXP 1.713908431e-15
|
#define MIN_EXP 1.713908431e-15
|
||||||
#define EXP_THRESHOLD 34.0
|
#define EXP_THRESHOLD 34.0
|
||||||
|
|
@ -79,14 +79,12 @@ int BSIM3v32LoadSIMD(BSIM3v32instance **heres, CKTcircuit *ckt
|
||||||
|
|
||||||
#if NSIMD==4
|
#if NSIMD==4
|
||||||
#ifdef USE_OMP
|
#ifdef USE_OMP
|
||||||
#pragma message "Use OMP SIMD4 version"
|
|
||||||
#include "b3v32ldseq_simd4d_omp.c"
|
#include "b3v32ldseq_simd4d_omp.c"
|
||||||
#else
|
#else
|
||||||
#include "b3v32ldseq_simd4d.c"
|
#include "b3v32ldseq_simd4d.c"
|
||||||
#endif
|
#endif
|
||||||
#elif NSIMD==8
|
#elif NSIMD==8
|
||||||
#ifdef USE_OMP
|
#ifdef USE_OMP
|
||||||
#pragma message "Use OMP SIMD8 version"
|
|
||||||
#include "b3v32ldseq_simd8d_omp.c"
|
#include "b3v32ldseq_simd8d_omp.c"
|
||||||
#else
|
#else
|
||||||
#include "b3v32ldseq_simd8d.c"
|
#include "b3v32ldseq_simd8d.c"
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,8 @@ File: bsim3v32def.h
|
||||||
#define NSIMD 4
|
#define NSIMD 4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define OMP_EFFMEM
|
||||||
|
|
||||||
typedef struct sBSIM3v32instance
|
typedef struct sBSIM3v32instance
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue