38 static Pmanager default_manager(
new manager());
39 static bool is_initialized =
false;
40 if( !is_initialized ){
41 config cfg; cfg[
"log_writer"] =
"null";
43 default_manager->init(cfg,0,0);
44 is_initialized =
true;
46 return default_manager;
55 hlog.alloc(host_buffer_size);
56 pdlog = gpulog::alloc_device_log(device_buffer_size);
61 config cfg; cfg[
"log_writer"] =
"null";
70 assert(flags & memory);
75 ERROR(
"No output writer attached!\n" );
79 replay_printf(std::cerr, hlog);
80 log_writer->process(hlog.internal_buffer(), hlog.size());
83 replay_printf(std::cerr, hlog);
84 log_writer->process(hlog.internal_buffer(), hlog.size());