lattice / quda

QUDA is a library for performing calculations in lattice QCD on GPUs.
https://lattice.github.io/quda
Other
279 stars 94 forks source link

The function `polarSu3` uses `sincos` instead of `sincospi` #1436

Open weinbe2 opened 5 months ago

weinbe2 commented 5 months ago

As the title notes, the function polarSu3 in su3_project.cuh uses a quda::sincos call here: https://github.com/lattice/quda/blob/develop/include/su3_project.cuh#L106

This could be replaced with a sincospi, improving performance and reducing/eliminating the stack frame in some routines that utilize it.