File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -191,9 +191,9 @@ const static size_t MIN_PLL_CONFIG_SIZE = 1;
191
191
// Wrapper for dl libraries
192
192
struct dl_wrapper_t {
193
193
std::vector<void *> mmd_libs;
194
- dl_wrapper_t (){; }
194
+ dl_wrapper_t () { ; }
195
195
~dl_wrapper_t () {
196
- for (void * mmd_lib : this ->mmd_libs ){
196
+ for (void *mmd_lib : this ->mmd_libs ) {
197
197
if (mmd_lib) {
198
198
#ifdef _WIN32
199
199
FreeLibrary ((HMODULE)mmd_lib);
@@ -205,8 +205,8 @@ struct dl_wrapper_t {
205
205
}
206
206
207
207
// destroy last element of mmd_libs
208
- void pop_back (){
209
- if (this ->mmd_libs .back ()){
208
+ void pop_back () {
209
+ if (this ->mmd_libs .back ()) {
210
210
#ifdef _WIN32
211
211
FreeLibrary ((HMODULE)this ->mmd_libs .back ());
212
212
#else
@@ -613,8 +613,8 @@ cl_bool l_load_single_board_library(const char *library_name,
613
613
return CL_FALSE;
614
614
}
615
615
616
- auto *test_symbol =
617
- my_dlsym (dl_wrapper. mmd_libs . back (), " aocl_mmd_get_offline_info" , &error_msg);
616
+ auto *test_symbol = my_dlsym (dl_wrapper. mmd_libs . back (),
617
+ " aocl_mmd_get_offline_info" , &error_msg);
618
618
if (!test_symbol) {
619
619
// On Linux, for custom libraries close the library (which was opened
620
620
// locally) and then reopen globally. For Windows, there is no option (i.e.
You can’t perform that action at this time.
0 commit comments