Skip to content

Commit a11a652

Browse files
committed
clang format
1 parent d33fed3 commit a11a652

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/acl_hal_mmd.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,9 @@ const static size_t MIN_PLL_CONFIG_SIZE = 1;
191191
// Wrapper for dl libraries
192192
struct dl_wrapper_t {
193193
std::vector<void *> mmd_libs;
194-
dl_wrapper_t(){;}
194+
dl_wrapper_t() { ; }
195195
~dl_wrapper_t() {
196-
for (void * mmd_lib : this->mmd_libs){
196+
for (void *mmd_lib : this->mmd_libs) {
197197
if (mmd_lib) {
198198
#ifdef _WIN32
199199
FreeLibrary((HMODULE)mmd_lib);
@@ -205,8 +205,8 @@ struct dl_wrapper_t {
205205
}
206206

207207
// 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()) {
210210
#ifdef _WIN32
211211
FreeLibrary((HMODULE)this->mmd_libs.back());
212212
#else
@@ -613,8 +613,8 @@ cl_bool l_load_single_board_library(const char *library_name,
613613
return CL_FALSE;
614614
}
615615

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);
618618
if (!test_symbol) {
619619
// On Linux, for custom libraries close the library (which was opened
620620
// locally) and then reopen globally. For Windows, there is no option (i.e.

0 commit comments

Comments
 (0)