Skip to content

Commit efde714

Browse files
committed
change order of flags
1 parent 1fdfb00 commit efde714

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/cmdstan/write_stan_flags.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@
77
namespace cmdstan {
88

99
void write_stan_flags(stan::callbacks::writer &writer) {
10-
#ifdef STAN_OPENCL
11-
writer("STAN_OPENCL=true");
12-
#else
13-
writer("STAN_OPENCL=false");
14-
#endif
1510
#ifdef STAN_THREADS
1611
writer("STAN_THREADS=true");
1712
#else
@@ -22,6 +17,11 @@ void write_stan_flags(stan::callbacks::writer &writer) {
2217
#else
2318
writer("STAN_MPI=false");
2419
#endif
20+
#ifdef STAN_OPENCL
21+
writer("STAN_OPENCL=true");
22+
#else
23+
writer("STAN_OPENCL=false");
24+
#endif
2525
#ifdef STAN_NO_RANGE_CHECKS
2626
writer("STAN_NO_RANGE_CHECKS=true");
2727
#else

0 commit comments

Comments
 (0)