mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Dirac cuda 11.4 happy ; force host for functions accessing mult table
ET runs these on host BEFORE lodging result in AST for kernel
This commit is contained in:
parent
8195890640
commit
0fc662bb24
@ -40,7 +40,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
|
||||
NAMESPACE_BEGIN(Grid);
|
||||
|
||||
// Dirac algebra adjoint operator (not in to overload other adj)
|
||||
accelerator_inline Gamma adj(const Gamma &g)
|
||||
inline Gamma adj(const Gamma &g)
|
||||
{
|
||||
return Gamma (Gamma::adj[g.g]);
|
||||
}
|
||||
@ -48,7 +48,7 @@ accelerator_inline Gamma adj(const Gamma &g)
|
||||
|
||||
|
||||
// Dirac algebra mutliplication operator
|
||||
accelerator_inline Gamma operator*(const Gamma &g1, const Gamma &g2)
|
||||
inline Gamma operator*(const Gamma &g1, const Gamma &g2)
|
||||
{
|
||||
return Gamma (Gamma::mul[g1.g][g2.g]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user