necrolyte2 / beast-mcmc

Automatically exported from code.google.com/p/beast-mcmc
0 stars 0 forks source link

Conflict between -beagle_sse and -beagle_order/beagle_cuda #723

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
"beast -beagle_sse -beagle_order 0,1,0,0 input.xml" appears to force everything 
onto CPU/SSE.

Original issue reported on code.google.com by msuch...@gmail.com on 16 Jan 2014 at 2:36

GoogleCodeExporter commented 9 years ago
BeastMain.java line 477:

        if (arguments.hasOption("beagle_SSE")) {
            beagleFlags |= BeagleFlag.PROCESSOR_CPU.getMask();
            beagleFlags |= BeagleFlag.VECTOR_SSE.getMask();
        }

Assumes if you give the SSE switch then you want CPU. I guess this is 
unnecessary (because all else being equal it will default to CPU) and causes 
the issue with mixed CPU/GPU. 

Suggest we remove line 477 and state that this flag will indicate that SSE 
should be used where appropriate.

Original comment by ramb...@gmail.com on 16 Jan 2014 at 2:42

GoogleCodeExporter commented 9 years ago
Made change suggested. Marking as fixed.

Original comment by ramb...@gmail.com on 23 Jan 2014 at 4:50