@@ -586,7 +586,9 @@ static cl_int l_load_properties(cl_context context,
586
586
override = override_deprecated;
587
587
fprintf (stderr,
588
588
" Warning: %s has been deprecated. "
589
- " Use %s instead.\n " , ENV_CL_CONTEXT_COMPILER_MODE_ALTERA, ENV_CL_CONTEXT_COMPILER_MODE_INTELFPGA);
589
+ " Use %s instead.\n " ,
590
+ ENV_CL_CONTEXT_COMPILER_MODE_ALTERA,
591
+ ENV_CL_CONTEXT_COMPILER_MODE_INTELFPGA);
590
592
}
591
593
592
594
if (override ) {
@@ -620,7 +622,8 @@ static cl_int l_load_properties(cl_context context,
620
622
// current directory.
621
623
const auto *default_root = acl_getenv (
622
624
ENV_CL_CONTEXT_PROGRAM_EXE_LIBRARY_ROOT_INTELFPGA); // this one is public,
623
- // in cl_ext_intelfpga.h
625
+ // in
626
+ // cl_ext_intelfpga.h
624
627
if (!default_root) {
625
628
default_root = " aocl_program_library" ;
626
629
}
@@ -632,7 +635,8 @@ static cl_int l_load_properties(cl_context context,
632
635
// Get user-specified compile command.
633
636
// The default command depends on effective compiler mode, so defer
634
637
// until later.
635
- const char *default_cmd = acl_getenv (ENV_CL_CONTEXT_COMPILE_COMMAND_INTELFPGA);
638
+ const char *default_cmd =
639
+ acl_getenv (ENV_CL_CONTEXT_COMPILE_COMMAND_INTELFPGA);
636
640
if (default_cmd) {
637
641
status = l_update_compile_command (context, default_cmd);
638
642
if (status != CL_SUCCESS)
@@ -1316,7 +1320,7 @@ void acl_context_callback(cl_context context, const std::string errinfo) {
1316
1320
}
1317
1321
1318
1322
if (context && acl_getenv (ENV_ACL_CONTEXT_CALLBACK_DEBUG)) {
1319
- std::cout << " [acl_context_callback] " << errinfo << std::endl;
1323
+ std::cout << " [acl_context_callback] Error Info: " << errinfo << std::endl;
1320
1324
}
1321
1325
}
1322
1326
0 commit comments