Adjust clang format to the new versions, revert broken macro layout (#714)
This commit is contained in:
committed by
GitHub
parent
ed877433f3
commit
2ff2316227
@@ -140,8 +140,8 @@ int main(int argc, char** argv) {
|
||||
|
||||
bool isAMDPlatform = (strcmp(platform.getInfo<CL_PLATFORM_NAME>().c_str(),
|
||||
"AMD Accelerated Parallel Processing") == 0)
|
||||
? true
|
||||
: false;
|
||||
? true
|
||||
: false;
|
||||
if (isAMDPlatform) {
|
||||
std::string boardName;
|
||||
device.getInfo(CL_DEVICE_BOARD_NAME_AMD, &boardName);
|
||||
|
||||
Reference in New Issue
Block a user