Commit bfa324e8 authored by Stefan's avatar Stefan
Browse files

do no duplicate device memory for CPU backend

parent be0aa800
......@@ -70,7 +70,7 @@ occa::device occaDeviceConfig(setupAide &options, MPI_Comm comm)
}else if(options.compareArgs("THREAD MODEL", "OPENMP")) {
sprintf(deviceConfig, "mode: 'OpenMP' ");
}else {
// sprintf(deviceConfig, "mode: 'Serial', memory: { use_host_pointer: true }");
sprintf(deviceConfig, "mode: 'Serial', memory: { use_host_pointer: true }");
sprintf(deviceConfig, "mode: 'Serial'");
options.setArgs("THREAD MODEL", "SERIAL");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment