Skip to content

Commit

Permalink
Add supports to SSE3
Browse files Browse the repository at this point in the history
  • Loading branch information
sunqm committed Jan 19, 2024
1 parent ea3857f commit b5c8735
Show file tree
Hide file tree
Showing 2 changed files with 859 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cint2e.c
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,9 @@ CACHE_SIZE_T CINT2e_spinor_drv(double complex *out, FINT *dims, CINTEnvVars *env
/*
* <ki|jl> = (ij|kl); i,j\in electron 1; k,l\in electron 2
*/
#if __SSE3__
#include "gout2e_simd.c"
#else
void CINTgout2e(double *gout, double *g, FINT *idx,
CINTEnvVars *envs, FINT gout_empty)
{
Expand Down Expand Up @@ -1178,6 +1181,7 @@ void CINTgout2e(double *gout, double *g, FINT *idx,
} // end switch nroots
}
}
#endif

CACHE_SIZE_T int2e_sph(double *out, FINT *dims, FINT *shls, FINT *atm, FINT natm,
FINT *bas, FINT nbas, double *env, CINTOpt *opt, double *cache)
Expand Down
Loading

0 comments on commit b5c8735

Please sign in to comment.