mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-04 03:05:55 +01:00
Gpu option
This commit is contained in:
parent
c5f93abcd7
commit
93280bae85
@ -432,6 +432,9 @@ void Grid_init(int *argc,char ***argv)
|
||||
WilsonKernelsStatic::Opt=WilsonKernelsStatic::OptHandUnroll;
|
||||
StaggeredKernelsStatic::Opt=StaggeredKernelsStatic::OptHandUnroll;
|
||||
}
|
||||
if( GridCmdOptionExists(*argv,*argv+*argc,"--dslash-gpu") ){
|
||||
WilsonKernelsStatic::Opt=WilsonKernelsStatic::OptGpu;
|
||||
}
|
||||
if( GridCmdOptionExists(*argv,*argv+*argc,"--dslash-asm") ){
|
||||
WilsonKernelsStatic::Opt=WilsonKernelsStatic::OptInlineAsm;
|
||||
StaggeredKernelsStatic::Opt=StaggeredKernelsStatic::OptInlineAsm;
|
||||
|
Loading…
x
Reference in New Issue
Block a user