2025-09-15 21:33 ftp://ftp.de.debian.org/debian/pool/main/r/rccl/rccl_5.4.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=googletest --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.43+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 3e169d6 (2025-09-15 13:38:15 +0200) count: 1687 1686 elapsed-time: 3.5 3.5 head-timing-info: old-timing-info: head results: rccl-rocm-5.4.3/ext-net/dummy/plugin.c:12:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:13:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:14:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:15:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:16:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:17:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:18:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:19:108: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:20:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:21:113: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:22:113: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:23:97: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:24:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:25:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:26:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:27:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:49:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:50:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:51:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:52:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:53:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/channel.cc:13:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:54:127: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/channel.cc:43:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:55:119: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:56:115: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:57:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:58:213: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:59:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:60:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:61:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:62:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:15:54: style: Parameter 'supportedTypes' can be declared as pointer to const. However it seems that 'pluginPtrSupport' is a callback function, if 'supportedTypes' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:34:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:15:54: note: Parameter 'supportedTypes' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:16:51: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'pluginListen' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:35:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:16:51: note: Parameter 'handle' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:17:52: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'pluginConnect' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:36:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:17:52: note: Parameter 'handle' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:18:42: style: Parameter 'listenComm' can be declared as pointer to const. However it seems that 'pluginAccept' is a callback function, if 'listenComm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:37:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:18:42: note: Parameter 'listenComm' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:19:41: style: Parameter 'collComm' can be declared as pointer to const. However it seems that 'pluginRegMr' is a callback function, if 'collComm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:38:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:19:41: note: Parameter 'collComm' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:19:57: style: Parameter 'data' can be declared as pointer to const. However it seems that 'pluginRegMr' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:38:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:19:57: note: Parameter 'data' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:20:43: style: Parameter 'collComm' can be declared as pointer to const. However it seems that 'pluginDeregMr' is a callback function, if 'collComm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:39:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:20:43: note: Parameter 'collComm' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:20:59: style: Parameter 'mhandle' can be declared as pointer to const. However it seems that 'pluginDeregMr' is a callback function, if 'mhandle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:39:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:20:59: note: Parameter 'mhandle' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:21:41: style: Parameter 'sendComm' can be declared as pointer to const. However it seems that 'pluginIsend' is a callback function, if 'sendComm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:40:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:21:41: note: Parameter 'sendComm' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:21:57: style: Parameter 'data' can be declared as pointer to const. However it seems that 'pluginIsend' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:40:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:21:57: note: Parameter 'data' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:21:79: style: Parameter 'mhandle' can be declared as pointer to const. However it seems that 'pluginIsend' is a callback function, if 'mhandle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:40:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:21:79: note: Parameter 'mhandle' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:22:41: style: Parameter 'recvComm' can be declared as pointer to const. However it seems that 'pluginIrecv' is a callback function, if 'recvComm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:41:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:22:41: note: Parameter 'recvComm' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:22:57: style: Parameter 'data' can be declared as pointer to const. However it seems that 'pluginIrecv' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:41:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:22:57: note: Parameter 'data' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:22:79: style: Parameter 'mhandle' can be declared as pointer to const. However it seems that 'pluginIrecv' is a callback function, if 'mhandle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:41:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:22:79: note: Parameter 'mhandle' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:23:41: style: Parameter 'recvComm' can be declared as pointer to const. However it seems that 'pluginFlush' is a callback function, if 'recvComm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:42:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:23:41: note: Parameter 'recvComm' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:23:57: style: Parameter 'data' can be declared as pointer to const. However it seems that 'pluginFlush' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:42:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:23:57: note: Parameter 'data' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:23:79: style: Parameter 'mhandle' can be declared as pointer to const. However it seems that 'pluginFlush' is a callback function, if 'mhandle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:42:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:23:79: note: Parameter 'mhandle' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:24:40: style: Parameter 'request' can be declared as pointer to const. However it seems that 'pluginTest' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:43:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:24:40: note: Parameter 'request' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:24:54: style: Parameter 'done' can be declared as pointer to const. However it seems that 'pluginTest' is a callback function, if 'done' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:43:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:24:54: note: Parameter 'done' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:24:65: style: Parameter 'size' can be declared as pointer to const. However it seems that 'pluginTest' is a callback function, if 'size' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:43:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:24:65: note: Parameter 'size' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:25:45: style: Parameter 'sendComm' can be declared as pointer to const. However it seems that 'pluginCloseSend' is a callback function, if 'sendComm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:44:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:25:45: note: Parameter 'sendComm' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:26:45: style: Parameter 'recvComm' can be declared as pointer to const. However it seems that 'pluginCloseRecv' is a callback function, if 'recvComm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:45:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:26:45: note: Parameter 'recvComm' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:27:47: style: Parameter 'listenComm' can be declared as pointer to const. However it seems that 'pluginCloseListen' is a callback function, if 'listenComm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:46:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:27:47: note: Parameter 'listenComm' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:52:61: style: Parameter 'supportedTypes' can be declared as pointer to const. However it seems that 'pluginCollNetPtrSupport' is a callback function, if 'supportedTypes' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:69:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:52:61: note: Parameter 'supportedTypes' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:53:58: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'pluginCollNetListen' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:70:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:53:58: note: Parameter 'handle' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:54:50: style: Parameter 'handles' can be declared as const array. However it seems that 'pluginCollNetConnect' is a callback function, if 'handles' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:71:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:54:50: note: Parameter 'handles' can be declared as const array rccl-rocm-5.4.3/ext-net/dummy/plugin.c:54:89: style: Parameter 'listenComm' can be declared as pointer to const. However it seems that 'pluginCollNetConnect' is a callback function, if 'listenComm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:71:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:54:89: note: Parameter 'listenComm' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:55:99: style: Parameter 'supported' can be declared as pointer to const. However it seems that 'pluginCollNetReduceSupport' is a callback function, if 'supported' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:72:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:55:99: note: Parameter 'supported' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:56:48: style: Parameter 'collComm' can be declared as pointer to const. However it seems that 'pluginCollNetRegMr' is a callback function, if 'collComm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:73:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:56:48: note: Parameter 'collComm' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:56:64: style: Parameter 'data' can be declared as pointer to const. However it seems that 'pluginCollNetRegMr' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:73:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:56:64: note: Parameter 'data' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:57:50: style: Parameter 'collComm' can be declared as pointer to const. However it seems that 'pluginCollNetDeregMr' is a callback function, if 'collComm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:74:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:57:50: note: Parameter 'collComm' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:57:66: style: Parameter 'mhandle' can be declared as pointer to const. However it seems that 'pluginCollNetDeregMr' is a callback function, if 'mhandle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:74:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:57:66: note: Parameter 'mhandle' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:58:53: style: Parameter 'collComm' can be declared as pointer to const. However it seems that 'pluginCollNetIallreduce' is a callback function, if 'collComm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:75:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:58:53: note: Parameter 'collComm' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:58:69: style: Parameter 'sendData' can be declared as pointer to const. However it seems that 'pluginCollNetIallreduce' is a callback function, if 'sendData' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:75:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:58:69: note: Parameter 'sendData' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:58:85: style: Parameter 'recvData' can be declared as pointer to const. However it seems that 'pluginCollNetIallreduce' is a callback function, if 'recvData' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:75:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:58:85: note: Parameter 'recvData' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:58:156: style: Parameter 'sendMhandle' can be declared as pointer to const. However it seems that 'pluginCollNetIallreduce' is a callback function, if 'sendMhandle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:75:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:58:156: note: Parameter 'sendMhandle' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:58:175: style: Parameter 'recvMhandle' can be declared as pointer to const. However it seems that 'pluginCollNetIallreduce' is a callback function, if 'recvMhandle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:75:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:58:175: note: Parameter 'recvMhandle' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:59:48: style: Parameter 'collComm' can be declared as pointer to const. However it seems that 'pluginCollNetFlush' is a callback function, if 'collComm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:76:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:59:48: note: Parameter 'collComm' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:59:64: style: Parameter 'data' can be declared as pointer to const. However it seems that 'pluginCollNetFlush' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:76:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:59:64: note: Parameter 'data' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:59:86: style: Parameter 'mhandle' can be declared as pointer to const. However it seems that 'pluginCollNetFlush' is a callback function, if 'mhandle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:76:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:59:86: note: Parameter 'mhandle' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:60:47: style: Parameter 'request' can be declared as pointer to const. However it seems that 'pluginCollNetTest' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:77:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:60:47: note: Parameter 'request' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:60:61: style: Parameter 'done' can be declared as pointer to const. However it seems that 'pluginCollNetTest' is a callback function, if 'done' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:77:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:60:61: note: Parameter 'done' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:60:72: style: Parameter 'size' can be declared as pointer to const. However it seems that 'pluginCollNetTest' is a callback function, if 'size' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:77:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:60:72: note: Parameter 'size' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:61:52: style: Parameter 'collComm' can be declared as pointer to const. However it seems that 'pluginCollNetCloseColl' is a callback function, if 'collComm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:78:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:61:52: note: Parameter 'collComm' can be declared as pointer to const rccl-rocm-5.4.3/ext-net/dummy/plugin.c:62:54: style: Parameter 'listenComm' can be declared as pointer to const. However it seems that 'pluginCollNetCloseListen' is a callback function, if 'listenComm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/ext-net/dummy/plugin.c:79:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/ext-net/dummy/plugin.c:62:54: note: Parameter 'listenComm' can be declared as pointer to const rccl-rocm-5.4.3/src/clique/HandleCache.h:47:5: style: Class 'NcclIpcHandleCache' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rccl-rocm-5.4.3/src/clique/HandleCache.h:95:47: style: Local variable 'it' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/clique/HandleCache.h:91:37: note: Shadowed declaration rccl-rocm-5.4.3/src/clique/HandleCache.h:95:47: note: Shadow variable rccl-rocm-5.4.3/src/bootstrap.cc:30:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:63:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:70:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:87:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:95:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:166:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSocketAddress [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:177:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSocketAddress [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:229:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_INIT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:305:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_INIT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:330:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSocketAddress [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:340:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:361:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:382:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSocket [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:405:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSocket [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:428:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:451:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:465:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/ShmObject.h:42:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/HandleShm.cc:60:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_shmPtr [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/HandleShm.cc:67:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_shmPtr [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/ShmObject.h:84:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/ShmObject.h:101:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/ShmObject.h:107:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dropback [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/ShmObject.h:144:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_INIT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/ShmObject.h:215:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/ShmObject.h:221:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/ShmObject.h:227:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/ShmObject.h:233:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/ShmObject.h:239:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sem_t [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/MsgQueue.cc:33:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/MsgQueue.cc:59:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/MsgQueue.cc:65:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/MsgQueue.cc:80:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSystemError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/MsgQueue.cc:93:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/MsgQueue.cc:100:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/HandleShm.cc:59:54: debug: CheckClass::isMemberVar found used member variable 'm_rank' with varid 0 [varid0] rccl-rocm-5.4.3/src/clique/HandleShm.cc:60:10: debug: CheckClass::isMemberVar found used member variable 'm_shmPtr' with varid 0 [varid0] rccl-rocm-5.4.3/src/clique/HandleShm.cc:67:30: debug: CheckClass::isMemberVar found used member variable 'm_shmPtr' with varid 0 [varid0] rccl-rocm-5.4.3/src/clique/ShmObject.h:104:16: style:inconclusive: Technically the member function 'ShmObject < std :: pair < hipIpcMemHandle_t , unsigned long > >::BroadcastAndCloseMessageQueue' can be const. [functionConst] rccl-rocm-5.4.3/src/clique/HandleShm.cc:52:32: warning: The class 'NcclIpcHandleShm' defines member function with name 'Open' also defined in its parent class 'ShmObject < std :: pair < hipIpcMemHandle_t , unsigned long > >'. [duplInheritedMember] rccl-rocm-5.4.3/src/clique/ShmObject.h:138:28: note: Parent function 'ShmObject < std :: pair < hipIpcMemHandle_t , unsigned long > >::Open' rccl-rocm-5.4.3/src/clique/HandleShm.cc:52:32: note: Derived function 'NcclIpcHandleShm::Open' rccl-rocm-5.4.3/src/clique/ShmObject.h:82:23: error: Dereferencing 'm_shmPtr' after it is deallocated / released [deallocuse] rccl-rocm-5.4.3/src/clique/ShmObject.h:149:90: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/clique/ShmObject.h:184:66: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/clique/ShmObject.h:112:1: style: Label 'dropback' is not used. [unusedLabel] rccl-rocm-5.4.3/src/clique/ShmObject.h:204:1: style: Label 'dropback' is not used. [unusedLabel] rccl-rocm-5.4.3/src/clique/ShmObject.h:213:57: performance:inconclusive: Function parameter 'tag' should be passed by const reference. [passedByValue] rccl-rocm-5.4.3/src/clique/ShmObject.h:225:71: performance:inconclusive: Function parameter 'tag' should be passed by const reference. [passedByValue] rccl-rocm-5.4.3/src/clique/ShmObject.h:231:89: performance:inconclusive: Function parameter 'tag' should be passed by const reference. [passedByValue] rccl-rocm-5.4.3/src/clique/ShmObject.h:237:59: performance:inconclusive: Function parameter 'tag' should be passed by const reference. [passedByValue] rccl-rocm-5.4.3/src/clique/ShmObject.h:92:40: style: Parameter 'mq_desc' can be declared as reference to const [constParameterReference] rccl-rocm-5.4.3/src/collectives/all_gather_api.cc:15:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nccl_domain [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/collectives/all_reduce_api.cc:14:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nccl_domain [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/ShmObject.cc:30:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sem_t [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:26:30: style: Condition 'bootstrapNetInitDone==0' is always true [knownConditionTrueFalse] rccl-rocm-5.4.3/src/bootstrap.cc:24:28: note: Assuming that condition 'bootstrapNetInitDone==0' is not redundant rccl-rocm-5.4.3/src/bootstrap.cc:26:30: note: Condition 'bootstrapNetInitDone==0' is always true rccl-rocm-5.4.3/src/bootstrap.cc:271:3: error: Resource handle 'fd' freed twice. [doubleFree] rccl-rocm-5.4.3/src/bootstrap.cc:266:3: note: Resource handle 'fd' freed twice. rccl-rocm-5.4.3/src/bootstrap.cc:271:3: note: Resource handle 'fd' freed twice. rccl-rocm-5.4.3/src/bootstrap.cc:94:35: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/bootstrap.cc:170:48: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/bootstrap.cc:300:34: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/bootstrap.cc:301:16: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/bootstrap.cc:326:34: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/bootstrap.cc:362:16: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/bootstrap.cc:418:34: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/bootstrap.cc:426:40: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/bootstrap.cc:438:42: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/bootstrap.cc:448:34: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/bootstrap.cc:464:34: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/collectives/all_to_all_api.cc:21:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclFuncAllToAllPivot [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/bootstrap.cc:179:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/bootstrap.cc:217:43: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/bootstrap.cc:339:53: style: Parameter 'ranks' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/bootstrap.cc:360:64: style: Parameter 'ranks' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/bootstrap.cc:376:100: style: Parameter 'sock' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/collectives/all_to_all_api.cc:31:27: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/collectives/all_to_all_api.cc:32:27: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/clique/ShmObject.h:104:16: style:inconclusive: Technically the member function 'ShmObject < sem_t >::BroadcastAndCloseMessageQueue' can be const. [functionConst] rccl-rocm-5.4.3/src/collectives/all_to_allv_api.cc:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/collectives/broadcast_api.cc:15:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nccl_domain [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/collectives/all_to_allv_api.cc:22:10: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/collectives/all_to_allv_api.cc:29:10: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/collectives/reduce_api.cc:15:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nccl_domain [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/collectives/gather_api.cc:18:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/collectives/reduce_scatter_api.cc:15:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nccl_domain [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/collectives/gather_api.cc:24:29: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/collectives/scatter_api.cc:18:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/collectives/sendrecv_api.cc:16:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nccl_domain [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/collectives/sendrecv_api.cc:31:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nccl_domain [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/collectives/scatter_api.cc:24:29: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/collectives/sendrecv_api.cc:18:11: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/debug.cc:32:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_LOG_NONE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/debug.cc:143:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_ACQUIRE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/CliqueCommon.h:67:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/AllReduceCliqueKernel.h:43:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_RANKS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/CliqueManager.cc:99:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_COLL [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/CliqueManager.cc:128:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/CliqueManager.cc:287:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclFuncAllReduce [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/CliqueManager.cc:294:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/CliqueManager.cc:366:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclFuncAllReduce [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/CliqueManager.cc:407:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/CliqueManager.cc:486:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hsa_amd_pointer_info_t [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/CliqueManager.cc:526:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipIpcMemLazyEnablePeerAccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/CliqueManager.cc:579:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_INIT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/debug.cc:102:28: style: Array index 'c' is used before limits check. [arrayIndexThenCheck] rccl-rocm-5.4.3/src/debug.cc:55:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rccl-rocm-5.4.3/src/debug.cc:84:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rccl-rocm-5.4.3/src/debug.cc:144:23: style: Condition 'ncclDebugNoWarn!=0' is always false [knownConditionTrueFalse] rccl-rocm-5.4.3/src/debug.cc:49:9: style: Variable 'ncclDebugSubsysEnv' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/debug.cc:55:11: style: Variable 'subsys' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/topo.h:191:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.h:203:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.h:215:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/connect.cc:43:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/connect.cc:110:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/connect.cc:361:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/connect.cc:368:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/connect.cc:417:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXCHANNELS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/connect.cc:442:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/connect.cc:446:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/connect.cc:452:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/connect.cc:464:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXCHANNELS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/connect.cc:600:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_GRAPH [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/connect.cc:617:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXCHANNELS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/connect.cc:625:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXCHANNELS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/connect.cc:642:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclChannel [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/connect.cc:652:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXCHANNELS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:26:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:77:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:133:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:150:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:167:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:179:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:241:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_ALL [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:259:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:359:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:438:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:455:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_INIT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:468:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:528:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclTransports [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:598:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:710:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:745:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:797:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:89:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:106:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:119:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:142:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_MAX_WORK_ELEMENTS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:168:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_MAX_WORK_ELEMENTS_REG [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:188:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_MAX_WORK_ELEMENTS_P2P [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:205:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclWorkTypeP2p [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:214:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNC_INDEX_P2P [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:250:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proxyOpQueue [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:267:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXCHANNELS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:350:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclFuncRecv [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:392:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXCHANNELS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:419:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:488:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_AGG_CHANNEL_SIZE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:610:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_MAX_NTHREADS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:721:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXCHANNELS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:760:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nWork [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:826:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proxyOpQueue [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:862:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:868:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:877:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclMainExited [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:900:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:999:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:1015:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:1024:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:1028:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:1063:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclAvg [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:1074:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclFuncAllToAllPivot [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:1175:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_ALGO_TREE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:1200:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nHeads [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:1245:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNC_INDEX_P2P [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:1355:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclDevSum [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:1407:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclFuncSend [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:1515:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:1546:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclUserRedOp [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:1576:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclNumOps [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/clique/CliqueManager.cc:478:29: performance:inconclusive: Technically the member function 'CliqueManager::CheckCacheForPtr' can be static (but you may consider moving to unnamed namespace). [functionStatic] rccl-rocm-5.4.3/src/clique/CliqueManager.h:82:16: note: Technically the member function 'CliqueManager::CheckCacheForPtr' can be static (but you may consider moving to unnamed namespace). rccl-rocm-5.4.3/src/clique/CliqueManager.cc:478:29: note: Technically the member function 'CliqueManager::CheckCacheForPtr' can be static (but you may consider moving to unnamed namespace). rccl-rocm-5.4.3/src/clique/CliqueManager.cc:519:29: performance:inconclusive: Technically the member function 'CliqueManager::CheckCacheForHandle' can be static (but you may consider moving to unnamed namespace). [functionStatic] rccl-rocm-5.4.3/src/clique/CliqueManager.h:87:16: note: Technically the member function 'CliqueManager::CheckCacheForHandle' can be static (but you may consider moving to unnamed namespace). rccl-rocm-5.4.3/src/clique/CliqueManager.cc:519:29: note: Technically the member function 'CliqueManager::CheckCacheForHandle' can be static (but you may consider moving to unnamed namespace). rccl-rocm-5.4.3/src/clique/ShmObject.h:104:16: style:inconclusive: Technically the member function 'ShmObject < int32_t >::BroadcastAndCloseMessageQueue' can be const. [functionConst] rccl-rocm-5.4.3/src/clique/ShmObject.h:104:16: style:inconclusive: Technically the member function 'ShmObject < hipIpcMemHandle_t >::BroadcastAndCloseMessageQueue' can be const. [functionConst] rccl-rocm-5.4.3/src/clique/HandleShm.h:42:18: warning: The class 'NcclIpcHandleShm' defines member function with name 'Open' also defined in its parent class 'ShmObject < std :: pair < hipIpcMemHandle_t , unsigned long > >'. [duplInheritedMember] rccl-rocm-5.4.3/src/clique/ShmObject.h:138:28: note: Parent function 'ShmObject < std :: pair < hipIpcMemHandle_t , unsigned long > >::Open' rccl-rocm-5.4.3/src/clique/HandleShm.h:42:18: note: Derived function 'NcclIpcHandleShm::Open' rccl-rocm-5.4.3/src/clique/HandleCache.h:47:5: style: Class 'NcclIpcHandleCache < uint64_t , hipIpcMemHandle_t , std :: hash < uint64_t > , std :: equal_to < uint64_t > , std :: allocator < std :: pair < const uint64_t , std :: pair < hipIpcMemHandle_t , std :: list < uint64_t > :: iterator > > > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rccl-rocm-5.4.3/src/clique/HandleCache.h:47:5: style: Class 'NcclIpcHandleCache < hipIpcMemHandle_t , void * , decltype ( & hipIpcMemHandleHash ) , decltype ( hipIpcMemHandleEqual ) , std :: allocator < std :: pair < const hipIpcMemHandle_t , std :: pair < void * , std :: list < hipIpcMemHandle_t > :: iterator > > > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rccl-rocm-5.4.3/src/clique/AllReduceCliqueKernel.h:52:25: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/clique/AllReduceCliqueKernel.h:53:25: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/clique/CliqueManager.cc:313:37: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/clique/CliqueManager.cc:430:32: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/clique/CliqueManager.cc:498:52: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/clique/CliqueManager.cc:546:10: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/graph/rings.cc:19:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_INIT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/rings.cc:39:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/rings.cc:12:20: style: Parameter 'values' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/rings.cc:22:91: style: Parameter 'next' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/connect.cc:38:27: style: Parameter 'treeGraph' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/connect.cc:38:60: style: Parameter 'ringGraph' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/connect.cc:365:27: style: Parameter 'treeGraph' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/connect.cc:373:10: style: Variable 'treeIntra' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/connect.cc:408:122: style: Parameter 'firstRanks' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/connect.cc:412:10: style: Variable 'recv' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/connect.cc:413:10: style: Variable 'send' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/connect.cc:440:37: style: Parameter 'ranks' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/connect.cc:440:75: style: Parameter 'firstRanks' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/connect.cc:445:59: style: Parameter 'indexes' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/connect.cc:451:61: style: Parameter 'indexes' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/connect.cc:554:81: style: Parameter 'collNetGraph' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/connect.cc:563:10: style: Variable 'collNetIntra' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/connect.cc:576:14: style: Variable 'collNetIntra' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/connect.cc:636:42: style: Parameter 'comm' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/topo.h:186:62: style: Parameter 'system' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/topo.h:197:64: style: Parameter 'system' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/connect.cc:96:15: error: Shifting 32-bit value by 9998 bits is undefined behaviour [shiftTooManyBits] rccl-rocm-5.4.3/src/graph/connect.cc:383:9: style: Unused variable: arrayIndex [unusedVariable] rccl-rocm-5.4.3/src/graph/xml.h:72:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:82:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:89:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:97:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:104:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:112:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:121:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:136:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:153:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:159:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:178:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:190:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:210:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:216:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:230:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:245:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:255:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:261:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:277:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:299:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.h:312:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/rome_models.cc:629:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_TOPO_MAX_NODES [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/rome_models.cc:752:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_TOPO_MAX_NODES [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/rome_models.cc:879:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/rome_models.cc:988:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_TOPO_MAX_NODES [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/rome_models.cc:1199:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/rome_models.cc:1291:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_TOPO_CPU_ARCH_X86 [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/rome_models.cc:1424:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_TOPO_CPU_ARCH_X86 [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/paths.cc:68:20: style: Local variable 'l' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/graph/paths.cc:57:16: note: Shadowed declaration rccl-rocm-5.4.3/src/graph/paths.cc:68:20: note: Shadow variable rccl-rocm-5.4.3/src/graph/paths.cc:406:20: style: Local variable 'g' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/graph/paths.cc:352:10: note: Shadowed declaration rccl-rocm-5.4.3/src/graph/paths.cc:406:20: note: Shadow variable rccl-rocm-5.4.3/src/graph/paths.cc:22:52: style: Parameter 'system' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/paths.cc:111:51: style: Parameter 'system' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/paths.cc:111:80: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/paths.cc:214:13: style: Variable 'str' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/paths.cc:221:13: style: Variable 'str' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/paths.cc:337:26: style: Variable 'gpu2' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/paths.cc:354:24: style: Variable 'net' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/paths.cc:465:26: style: Variable 'system' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/paths.cc:545:28: style: Variable 'gpu' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/paths.cc:594:26: style: Variable 'gpu' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/paths.cc:613:26: style: Variable 'gpu' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/paths.cc:709:28: style: Variable 'path' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/paths.cc:790:26: style: Variable 'gpu' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/paths.cc:44:22: style: Variable 'nextNodeList.count' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/src/graph/search.cc:43:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:58:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:76:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_TOPO_CPU_VENDOR_INTEL [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:109:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:192:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:204:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:216:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:226:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_TOPO_MAX_NODES [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:272:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:299:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:322:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:341:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:406:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:410:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:595:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:617:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_TOPO_PATTERN_RING [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:653:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:690:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSystemError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:700:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:728:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:753:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:782:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:792:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:812:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXCHANNELS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:841:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXCHANNELS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:1040:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_GRAPH [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:1077:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_ENV [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:1095:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:1172:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:1176:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_XGMI_INTER_GPUS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:49:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:56:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:70:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_TOPO_CPU_ARCH_POWER [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:98:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:105:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_TOPO_MAX_NODES [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:159:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:182:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:241:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:254:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:275:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_GRAPH [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:300:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_GRAPH [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:327:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:337:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:351:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclDebugNoWarn [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:378:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:386:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipDeviceArch_t [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:428:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:493:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_TOPO_CPU_ARCH_X86 [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:592:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:654:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:668:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:678:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:688:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:697:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_ENV [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:800:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:817:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:831:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:890:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:894:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:911:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/enqueue.cc:1112:14: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] rccl-rocm-5.4.3/src/enqueue.cc:658:13: style: The if condition is the same as the previous if condition [duplicateCondition] rccl-rocm-5.4.3/src/enqueue.cc:657:13: note: First condition rccl-rocm-5.4.3/src/enqueue.cc:658:13: note: Second condition rccl-rocm-5.4.3/src/enqueue.cc:660:13: style: The if condition is the same as the previous if condition [duplicateCondition] rccl-rocm-5.4.3/src/enqueue.cc:659:13: note: First condition rccl-rocm-5.4.3/src/enqueue.cc:660:13: note: Second condition rccl-rocm-5.4.3/src/enqueue.cc:297:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] rccl-rocm-5.4.3/src/enqueue.cc:110:47: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/enqueue.cc:122:39: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/enqueue.cc:583:26: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/enqueue.cc:645:32: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/enqueue.cc:646:32: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/enqueue.cc:866:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/enqueue.cc:890:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/enqueue.cc:983:93: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/enqueue.cc:1415:17: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/enqueue.cc:874:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/enqueue.cc:100:1: style: Label 'error' is not used. [unusedLabel] rccl-rocm-5.4.3/src/enqueue.cc:112:1: style: Label 'error' is not used. [unusedLabel] rccl-rocm-5.4.3/src/enqueue.cc:125:1: style: Label 'error' is not used. [unusedLabel] rccl-rocm-5.4.3/src/enqueue.cc:1042:3: style: Label 'resume1' is not used. [unusedLabel] rccl-rocm-5.4.3/src/enqueue.cc:1048:5: style: Label 'resume2' is not used. [unusedLabel] rccl-rocm-5.4.3/src/enqueue.cc:1531:1: style: Label 'end1' is not used. [unusedLabel] rccl-rocm-5.4.3/src/enqueue.cc:1533:1: style: Label 'end0' is not used. [unusedLabel] rccl-rocm-5.4.3/src/enqueue.cc:260:52: style: Parameter 'regBufSend' can be declared as const array [constParameter] rccl-rocm-5.4.3/src/enqueue.cc:260:72: style: Parameter 'regBufRecv' can be declared as const array [constParameter] rccl-rocm-5.4.3/src/enqueue.cc:511:26: style: Variable 'aggEnd' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/enqueue.cc:1390:20: style: Variable 'user' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/trees.cc:43:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/trees.cc:108:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/tuning.cc:19:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARP_SIZE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/tuning.cc:52:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/tuning.cc:235:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_SIMPLE_MAX_NTHREADS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/tuning.cc:447:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/topo.cc:837:32: portability: Undefined behaviour, pointer arithmetic 'system->nodes[3].nodes+cpuIndex' is out of bounds. [pointerOutOfBounds] rccl-rocm-5.4.3/src/graph/topo.cc:829:18: note: Assignment 'cpuIndex=-1', assigned value is -1 rccl-rocm-5.4.3/src/graph/topo.cc:830:17: note: Assuming condition is false rccl-rocm-5.4.3/src/graph/topo.cc:837:32: note: Pointer arithmetic overflow rccl-rocm-5.4.3/src/graph/xml.h:193:60: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] rccl-rocm-5.4.3/src/graph/xml.h:192:21: note: Assuming allocation function fails rccl-rocm-5.4.3/src/graph/xml.h:192:21: note: Assignment 'tmp=strdup(node->attrs[index].value)', assigned value is 0 rccl-rocm-5.4.3/src/graph/xml.h:193:60: note: Null pointer dereference rccl-rocm-5.4.3/src/graph/topo.cc:392:28: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/graph/topo.cc:139:78: style:inconclusive: Function 'ncclTopoRemoveNode' argument 3 names different: declaration 'id' definition 'index'. [funcArgNamesDifferent] rccl-rocm-5.4.3/src/graph/topo.h:174:78: note: Function 'ncclTopoRemoveNode' argument 3 names different: declaration 'id' definition 'index'. rccl-rocm-5.4.3/src/graph/topo.cc:139:78: note: Function 'ncclTopoRemoveNode' argument 3 names different: declaration 'id' definition 'index'. rccl-rocm-5.4.3/src/graph/topo.cc:212:16: style: Local variable 's' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/graph/topo.cc:190:12: note: Shadowed declaration rccl-rocm-5.4.3/src/graph/topo.cc:212:16: note: Shadow variable rccl-rocm-5.4.3/src/graph/topo.cc:200:30: style: Variable 'sub' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/topo.cc:257:86: style: Parameter 'prevNode' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/topo.cc:308:82: style: Parameter 'upNode' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/topo.cc:392:9: style: Variable 'token' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/topo.cc:789:30: style: Variable 'path' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/topo.cc:906:58: style: Parameter 'system' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/xml.h:66:57: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/xml.h:115:48: style: Parameter 'xml' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/xml.h:127:50: style: Parameter 'xml' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/xml.h:308:18: style: Variable 'd' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/tuning.cc:45:9: style: Variable 'token' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/xml.cc:25:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:68:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:101:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:112:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:171:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:236:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:243:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:256:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:266:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:271:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:277:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:283:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:289:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:297:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInvalidUsage [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:313:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:342:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSystemError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:348:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:372:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_GRAPH [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:384:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:455:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:475:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclDebugNoWarn [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:618:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:780:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:789:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:805:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:860:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:864:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:873:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:878:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:884:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:890:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:898:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInvalidUsage [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:913:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/group.cc:36:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/group.cc:43:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/group.cc:51:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nccl_domain [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/group.cc:59:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nccl_domain [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/group.cc:73:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_set_t [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/group.cc:80:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/group.cc:151:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInvalidUsage [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/group.cc:41:30: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/group.cc:264:42: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/group.cc:70:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/init.cc:617:23: error: There is an unknown macro here somewhere. Configuration is required. If NCCL_SUFFIX is a macro then please configure it. [unknownMacro] rccl-rocm-5.4.3/src/misc/argcheck.cc:14:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/argcheck.cc:32:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInvalidArgument [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/argcheck.cc:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInvalidArgument [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/argcheck.cc:29:29: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/misc/cudawrap.cc:79:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/rome_models.cc:814:12: warning: If memory allocation fails, then there is a possible null pointer dereference: str_temp [nullPointerOutOfMemory] rccl-rocm-5.4.3/src/graph/rome_models.cc:813:36: note: Assuming allocation function fails rccl-rocm-5.4.3/src/graph/rome_models.cc:813:22: note: Assignment 'str_temp=(char*)malloc(strlen(options)+1)', assigned value is 0 rccl-rocm-5.4.3/src/graph/rome_models.cc:814:12: note: Null pointer dereference rccl-rocm-5.4.3/src/graph/rome_models.cc:854:12: warning: If memory allocation fails, then there is a possible null pointer dereference: str_temp [nullPointerOutOfMemory] rccl-rocm-5.4.3/src/graph/rome_models.cc:853:36: note: Assuming allocation function fails rccl-rocm-5.4.3/src/graph/rome_models.cc:853:22: note: Assignment 'str_temp=(char*)malloc(strlen(options)+1)', assigned value is 0 rccl-rocm-5.4.3/src/graph/rome_models.cc:854:12: note: Null pointer dereference rccl-rocm-5.4.3/src/graph/search.cc:397:20: style: Array index 'found' is used before limits check. [arrayIndexThenCheck] rccl-rocm-5.4.3/src/graph/search.cc:918:20: style: Array index 'speedIndex' is used before limits check. [arrayIndexThenCheck] rccl-rocm-5.4.3/src/graph/rome_models.cc:813:22: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/graph/search.cc:989:22: style: Array index 'speedIndex' is used before limits check. [arrayIndexThenCheck] rccl-rocm-5.4.3/src/graph/rome_models.cc:853:22: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/graph/search.cc:1000:22: style: Array index 'speedIndex' is used before limits check. [arrayIndexThenCheck] rccl-rocm-5.4.3/src/graph/rome_models.cc:960:31: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/graph/rome_models.cc:961:31: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/graph/rome_models.cc:971:30: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/graph/rome_models.cc:972:30: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/graph/rome_models.cc:982:28: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/graph/rome_models.cc:983:28: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/graph/rome_models.cc:1304:31: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:54:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:120:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:133:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:147:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:161:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:175:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:189:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:203:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:212:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:221:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:235:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:89:19: style: Condition 'revLink==NULL' is always true [knownConditionTrueFalse] rccl-rocm-5.4.3/src/graph/search.cc:85:36: note: Assignment 'revLink=NULL', assigned value is 0 rccl-rocm-5.4.3/src/graph/search.cc:89:19: note: Condition 'revLink==NULL' is always true rccl-rocm-5.4.3/src/graph/search.cc:167:30: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/graph/search.cc:168:30: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:75:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:76:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:77:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:78:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:79:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:80:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:81:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:82:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:83:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:84:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/gdrwrap.cc:85:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/graph/search.cc:943:12: style: The comparison 'pass == 1' is always true. [knownConditionTrueFalse] rccl-rocm-5.4.3/src/graph/search.cc:916:14: note: 'pass' is assigned value '1' here. rccl-rocm-5.4.3/src/graph/search.cc:943:12: note: The comparison 'pass == 1' is always true. rccl-rocm-5.4.3/src/graph/search.cc:996:12: style: The comparison 'pass == 1' is always true. [knownConditionTrueFalse] rccl-rocm-5.4.3/src/graph/search.cc:916:14: note: 'pass' is assigned value '1' here. rccl-rocm-5.4.3/src/graph/search.cc:996:12: note: The comparison 'pass == 1' is always true. rccl-rocm-5.4.3/src/graph/search.cc:512:26: style: The scope of the variable 'gpu' can be reduced. [variableScope] rccl-rocm-5.4.3/src/graph/search.cc:1176:7: style: The scope of the variable 'interGpus' can be reduced. [variableScope] rccl-rocm-5.4.3/src/graph/search.cc:145:14: style: Local variable 'l' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/graph/search.cc:141:12: note: Shadowed declaration rccl-rocm-5.4.3/src/graph/search.cc:145:14: note: Shadow variable rccl-rocm-5.4.3/src/graph/search.cc:380:28: style: Local variable 'gpu' shadows outer argument [shadowArgument] rccl-rocm-5.4.3/src/graph/search.cc:370:83: note: Shadowed declaration rccl-rocm-5.4.3/src/graph/search.cc:380:28: note: Shadow variable rccl-rocm-5.4.3/src/graph/search.cc:520:14: style: Local variable 'i' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/graph/search.cc:509:12: note: Shadowed declaration rccl-rocm-5.4.3/src/graph/search.cc:520:14: note: Shadow variable rccl-rocm-5.4.3/src/graph/search.cc:540:18: style: Local variable 'i' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/graph/search.cc:509:12: note: Shadowed declaration rccl-rocm-5.4.3/src/graph/search.cc:540:18: note: Shadow variable rccl-rocm-5.4.3/src/graph/search.cc:587:14: style: Local variable 'i' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/graph/search.cc:509:12: note: Shadowed declaration rccl-rocm-5.4.3/src/graph/search.cc:587:14: note: Shadow variable rccl-rocm-5.4.3/src/graph/search.cc:685:16: style: Local variable 'g' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/graph/search.cc:676:12: note: Shadowed declaration rccl-rocm-5.4.3/src/graph/search.cc:685:16: note: Shadow variable rccl-rocm-5.4.3/src/graph/search.cc:1124:16: style: Local variable 'n' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/graph/search.cc:1114:11: note: Shadowed declaration rccl-rocm-5.4.3/src/graph/search.cc:1124:16: note: Shadow variable rccl-rocm-5.4.3/src/graph/search.cc:1135:15: style: Local variable 'peerRank' shadows outer argument [shadowArgument] rccl-rocm-5.4.3/src/graph/search.cc:1091:113: note: Shadowed declaration rccl-rocm-5.4.3/src/graph/search.cc:1135:15: note: Shadow variable rccl-rocm-5.4.3/src/graph/search.cc:1137:25: style: Local variable 'n' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/graph/search.cc:1114:11: note: Shadowed declaration rccl-rocm-5.4.3/src/graph/search.cc:1137:25: note: Shadow variable rccl-rocm-5.4.3/src/graph/search.cc:18:49: style: Parameter 'system' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/search.cc:21:30: style: Variable 'path' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/search.cc:28:51: style: Parameter 'system' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/search.cc:28:80: style: Parameter 'gpu' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/search.cc:31:26: style: Variable 'link' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/search.cc:71:26: style: Variable 'node' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/search.cc:140:45: style: Parameter 'gpu' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/search.cc:144:26: style: Variable 'pci' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/search.cc:146:28: style: Variable 'pciLink' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/search.cc:167:25: style: Variable 's1' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/search.cc:168:25: style: Variable 's2' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/search.cc:187:56: style: Parameter 'system' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/search.cc:200:56: style: Parameter 'system' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/search.cc:324:34: style: Variable 'remNode' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/search.cc:381:32: style: Variable 'paths' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/search.cc:436:28: style: Variable 'startNet' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/search.cc:537:34: style: Variable 'paths' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/search.cc:672:132: style: Parameter 'graph' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/search.cc:732:62: style: Parameter 'graph' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/search.cc:735:8: style: Variable 'inter' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/search.cc:908:10: style: Variable 'speedArray' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/search.cc:1127:30: style: Variable 'gpu' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/search.cc:1141:34: style: Variable 'peerGpu' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/search.cc:1185:32: style: Variable 'remNode' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/rome_models.cc:1446:12: style: The scope of the variable 'h' can be reduced. [variableScope] rccl-rocm-5.4.3/src/graph/rome_models.cc:930:16: style: Local variable 'i' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/graph/rome_models.cc:875:7: note: Shadowed declaration rccl-rocm-5.4.3/src/graph/rome_models.cc:930:16: note: Shadow variable rccl-rocm-5.4.3/src/graph/rome_models.cc:937:16: style: Local variable 'i' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/graph/rome_models.cc:875:7: note: Shadowed declaration rccl-rocm-5.4.3/src/graph/rome_models.cc:937:16: note: Shadow variable rccl-rocm-5.4.3/src/graph/rome_models.cc:938:16: style: Local variable 'i' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/graph/rome_models.cc:875:7: note: Shadowed declaration rccl-rocm-5.4.3/src/graph/rome_models.cc:938:16: note: Shadow variable rccl-rocm-5.4.3/src/graph/rome_models.cc:1330:18: style: Local variable 'n' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/graph/rome_models.cc:1303:13: note: Shadowed declaration rccl-rocm-5.4.3/src/graph/rome_models.cc:1330:18: note: Shadow variable rccl-rocm-5.4.3/src/graph/rome_models.cc:628:107: style: Parameter 'gpu_map' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/rome_models.cc:628:121: style: Parameter 'net_map' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/rome_models.cc:751:112: style: Parameter 'gpu_map' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/rome_models.cc:923:32: style: Variable 'paths' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/rome_models.cc:960:26: style: Variable 's1' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/rome_models.cc:961:26: style: Variable 's2' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/rome_models.cc:971:25: style: Variable 's1' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/rome_models.cc:972:25: style: Variable 's2' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/rome_models.cc:982:23: style: Variable 's1' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/graph/rome_models.cc:983:23: style: Variable 's2' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:48:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:205:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:211:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:215:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:227:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:231:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:235:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:239:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:243:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:247:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:251:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:255:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:259:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:263:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:267:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:280:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:288:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:299:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:303:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:307:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:311:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:315:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:319:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:324:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/search.cc:1067:14: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/src/graph/rome_models.cc:993:9: warning: Uninitialized variables: gpu_scores.g, gpu_scores.dev [uninitvar] rccl-rocm-5.4.3/src/graph/rome_models.cc:989:21: note: Assuming condition is false rccl-rocm-5.4.3/src/graph/rome_models.cc:993:9: note: Uninitialized variables: gpu_scores.g, gpu_scores.dev rccl-rocm-5.4.3/src/graph/rome_models.cc:1000:9: warning: Uninitialized variables: cpu_scores.c, cpu_scores.numa [uninitvar] rccl-rocm-5.4.3/src/graph/rome_models.cc:996:21: note: Assuming condition is false rccl-rocm-5.4.3/src/graph/rome_models.cc:1000:9: note: Uninitialized variables: cpu_scores.c, cpu_scores.numa rccl-rocm-5.4.3/src/graph/rome_models.cc:1007:9: warning: Uninitialized variables: net_scores.n, net_scores.id [uninitvar] rccl-rocm-5.4.3/src/graph/rome_models.cc:1003:21: note: Assuming condition is false rccl-rocm-5.4.3/src/graph/rome_models.cc:1007:9: note: Uninitialized variables: net_scores.n, net_scores.id rccl-rocm-5.4.3/src/graph/rome_models.cc:753:7: style: Variable 'nChannels' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/src/graph/rome_models.cc:758:7: style: Unused variable: nets [unusedVariable] rccl-rocm-5.4.3/src/graph/rome_models.cc:759:7: style: Variable 'net_offset' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/src/graph/rome_models.cc:759:23: style: Variable 'net_count' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/src/misc/npkit.cc:29:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_timestamp_ [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/npkit.cc:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rank_ [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/npkit.cc:74:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNumCpuEventBuffers [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/npkit.cc:135:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_timestamp_update_thread_should_stop_ [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/npkit.cc:159:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gpu_collect_contexts_ [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/npkit.cc:163:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_collect_contexts_ [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/npkit.cc:175:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_timestamp_ [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/rome_models.cc:1245:11: style: Variable 't' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/src/graph/rome_models.cc:1192:15: style: Unused variable: ringRemap [unusedVariable] rccl-rocm-5.4.3/src/graph/rome_models.cc:1196:7: style: Variable 'ncpus' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/src/graph/rome_models.cc:1245:9: style: Variable 't' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/src/graph/rome_models.cc:1377:11: style: Variable 't' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/src/graph/rome_models.cc:1281:15: style: Unused variable: ringRemap [unusedVariable] rccl-rocm-5.4.3/src/graph/rome_models.cc:1377:9: style: Variable 't' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/src/graph/rome_models.cc:1416:15: style: Unused variable: ringRemap [unusedVariable] rccl-rocm-5.4.3/src/misc/npkit.cc:28:12: style: The scope of the variable 'curr_steady_clock' can be reduced. [variableScope] rccl-rocm-5.4.3/src/misc/npkit.cc:28:30: style: Variable 'curr_steady_clock' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:87:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:88:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:89:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:90:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:91:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:92:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:93:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:94:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:95:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:96:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:97:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:98:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:99:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:100:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:102:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:104:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:105:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:106:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:107:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:108:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:109:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:110:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:111:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:112:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/ibvwrap.cc:323:10: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/nvmlwrap_stub.cc:11:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap_stub.cc:15:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap_stub.cc:19:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap_stub.cc:23:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSystemError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap_stub.cc:28:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap_stub.cc:32:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSystemError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap_stub.cc:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap_stub.cc:41:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSystemError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap_stub.cc:45:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSystemError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap_stub.cc:50:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSystemError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap_stub.cc:55:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap_stub.cc:22:84: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/misc/nvmlwrap_stub.cc:31:75: style: Parameter 'pci' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/misc/nvmlwrap_stub.cc:40:102: style: Parameter 'isActive' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/misc/nvmlwrap_stub.cc:44:106: style: Parameter 'pci' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/misc/nvmlwrap_stub.cc:49:54: style: Parameter 'capResult' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/misc/profiler.cc:113:101: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:64:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSystemError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:181:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NVML_SUCCESS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:187:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable handle [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:194:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable handle [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:205:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/param.cc:63:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_INITIALIZER [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:212:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:222:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:230:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable handle [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:245:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NVML_P2P_CAPS_INDEX_READ [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/profiler.cc:113:56: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/misc/rocm_smi_wrap.cc:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/rocm_smi_wrap.cc:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/rocm_smi_wrap.cc:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/rocm_smi_wrap.cc:82:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/rocm_smi_wrap.cc:101:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSMI_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:70:8: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:71:8: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:72:8: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:73:8: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:74:8: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:75:8: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:76:8: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:77:8: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:78:8: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:79:8: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:80:8: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:81:8: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:82:8: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:83:8: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/param.cc:21:27: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] rccl-rocm-5.4.3/src/misc/nvmlwrap.cc:104:73: error: Uninitialized variable: &ndev [uninitvar] rccl-rocm-5.4.3/src/misc/signals.cc:74:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_INIT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/rocmwrap.cc:32:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/shmutils.cc:21:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/shmutils.cc:25:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/shmutils.cc:35:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/shmutils.cc:58:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/shmutils.cc:80:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/shmutils.cc:87:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSystemError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/signals.cc:57:20: warning: If memory allocation fails, then there is a possible null pointer dereference: strings [nullPointerOutOfMemory] rccl-rocm-5.4.3/src/misc/signals.cc:55:30: note: Assuming allocation function fails rccl-rocm-5.4.3/src/misc/signals.cc:55:30: note: Assignment 'strings=backtrace_symbols(buffer,nptrs)', assigned value is 0 rccl-rocm-5.4.3/src/misc/signals.cc:57:20: note: Null pointer dereference rccl-rocm-5.4.3/src/misc/shmutils.cc:44:10: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/shmutils.cc:68:1: style: Label 'sysError' is not used. [unusedLabel] rccl-rocm-5.4.3/src/misc/shmutils.cc:70:1: style: Label 'hipError_t' is not used. [unusedLabel] rccl-rocm-5.4.3/src/misc/shmutils.cc:83:47: style: Parameter 'devShmPtr' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/misc/strongstream.cc:79:1: error: There is an unknown macro here somewhere. Configuration is required. If NCCL_PARAM is a macro then please configure it. [unknownMacro] rccl-rocm-5.4.3/src/misc/utils.cc:19:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/utils.cc:28:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/utils.cc:45:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/utils.cc:56:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/utils.cc:62:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSystemError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/utils.cc:97:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_ENV [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/utils.cc:134:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_INIT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/utils.cc:151:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prefix [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/utils.cc:190:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prefix [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/utils.cc:215:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Hunk [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:741:9: style: Local variable 'index' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/graph/xml.cc:610:7: note: Shadowed declaration rccl-rocm-5.4.3/src/graph/xml.cc:741:9: note: Shadow variable rccl-rocm-5.4.3/src/graph/xml.cc:87:47: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/xml.cc:462:26: style: Parameter 'bdf' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/graph/xml.cc:713:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/misc/socket.cc:30:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:43:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:53:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_ENV [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:66:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_IFS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:129:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:169:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKET_NAME_MAXLEN [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:208:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInvalidArgument [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:292:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_ENV [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:323:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:373:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollfd [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:397:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:401:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKET_NAME_MAXLEN [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:490:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSocketAddress [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:510:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:528:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKET_NAME_MAXLEN [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:557:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKET_NAME_MAXLEN [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:567:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:572:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_SOCKET_SEND [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:578:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_SOCKET_RECV [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:587:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_SOCKET_RECV [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/net.cc:31:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/net.cc:49:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/net.cc:55:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/net.cc:80:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/net.cc:103:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/net.cc:109:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/net.cc:140:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/net.cc:161:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/net.cc:180:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_INIT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/net.cc:252:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclDebugLog [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/net.cc:264:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclDebugLog [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/net.cc:298:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInvalidUsage [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/net.cc:324:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_PTR_CUDA [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/graph/xml.cc:720:68: warning: Uninitialized variable: lowerId [uninitvar] rccl-rocm-5.4.3/src/graph/xml.cc:715:22: note: Assuming condition is false rccl-rocm-5.4.3/src/graph/xml.cc:720:68: note: Uninitialized variable: lowerId rccl-rocm-5.4.3/src/net.cc:197:17: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/net.cc:201:18: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/net.cc:203:20: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/net.cc:224:21: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/net.cc:227:22: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/net.cc:229:24: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/utils.cc:108:12: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] rccl-rocm-5.4.3/src/misc/utils.cc:100:23: note: Assuming allocation function fails rccl-rocm-5.4.3/src/misc/utils.cc:100:23: note: Assignment 'file=fopen("/proc/sys/kernel/random/boot_id","r")', assigned value is 0 rccl-rocm-5.4.3/src/misc/utils.cc:108:12: note: Null pointer dereference rccl-rocm-5.4.3/src/net.cc:353:1: style: Label 'cleanup4' is not used. [unusedLabel] rccl-rocm-5.4.3/src/net.cc:355:1: style: Label 'cleanup3' is not used. [unusedLabel] rccl-rocm-5.4.3/src/net.cc:357:1: style: Label 'cleanup2' is not used. [unusedLabel] rccl-rocm-5.4.3/src/net.cc:359:1: style: Label 'cleanup1' is not used. [unusedLabel] rccl-rocm-5.4.3/src/misc/utils.cc:238:25: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/net.cc:365:37: style: Parameter 'comm' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/misc/utils.cc:185:62: style: Parameter 'ifList' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/misc/socket.cc:473:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rccl-rocm-5.4.3/src/transport.cc:55:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_INIT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport.cc:75:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclConnect [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport.cc:81:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRANSPORT_P2P [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport.cc:180:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable collNetSend [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport.cc:246:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_MAX_LOCAL_RANKS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport.cc:267:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_MAX_CONNS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport.cc:25:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable peers [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/misc/socket.cc:248:7: error: Memory leak: p [memleak] rccl-rocm-5.4.3/src/misc/socket.cc:84:95: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/socket.cc:92:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/socket.cc:130:38: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/socket.cc:131:32: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/socket.cc:138:39: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/socket.cc:139:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/socket.cc:382:53: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/socket.cc:527:16: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/misc/socket.cc:420:53: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/misc/socket.cc:457:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/misc/socket.cc:285:14: style: The scope of the variable 'shownIfName' can be reduced. [variableScope] rccl-rocm-5.4.3/src/misc/socket.cc:324:7: style: The scope of the variable 'flags' can be reduced. [variableScope] rccl-rocm-5.4.3/src/misc/socket.cc:29:20: style: Variable 'saddr' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/misc/socket.cc:42:20: style: Variable 'saddr' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/misc/socket.cc:508:79: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/proxy.cc:22:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclPatternRing [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:51:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_MAX_OPS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:82:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_MAX_OPS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:95:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclPatternSend [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:184:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_MAX_OPS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:201:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_PROXY_MAX_SUBS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:278:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:287:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:296:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:356:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:395:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclPatternTreeDown [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:430:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclProxyOp [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:500:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:507:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclProxyOpNone [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:526:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:642:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:647:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:694:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:714:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:738:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:773:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:779:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:786:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclTransports [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:802:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:816:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:850:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:871:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclProxyOpsPool [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:910:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclProxyOpsPool [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:917:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:939:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclTransports [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:957:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:966:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclProxyMsgSetup [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:998:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:1005:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_set_t [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:1125:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:1132:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:1141:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSocketAddress [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net.cc:424:21: error: There is an unknown macro here somewhere. Configuration is required. If NCCLCHECK is a macro then please configure it. [unknownMacro] rccl-rocm-5.4.3/src/transport/coll_net.cc:137:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:157:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRANSPORT_COLLNET [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:174:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRANSPORT_COLLNET [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:201:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_NUM_PROTOCOLS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:221:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclProxyMsgConnect [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:247:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclProxyMsgConnect [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:269:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:273:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:278:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:304:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:321:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:339:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_MAX_NETDEVS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:348:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_PROTO_SIMPLE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:365:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_PROTO_SIMPLE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:373:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:383:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:401:156: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:475:156: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:551:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_NUM_PROTOCOLS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:568:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_NUM_PROTOCOLS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:588:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_PROTO_SIMPLE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:707:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_PROTO_SIMPLE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:97:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:110:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:147:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:156:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:268:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:295:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSystemError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:310:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable failure [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:326:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:335:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_PTR_HOST [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:497:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable failure [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:518:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable returning [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:528:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ibv_qp_init_attr [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:551:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ibv_qp_attr [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:579:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ibv_qp_attr [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:594:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_NET_HANDLE_MAXSIZE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:628:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:715:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:824:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_NET_MAX_REQUESTS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:840:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:848:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_SOCKET_RECV [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:867:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_SOCKET_RECV [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:881:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_PAGESIZE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:951:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable returning [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:968:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:1049:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:1120:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_NET_MAX_REQUESTS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:1179:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:1218:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:1258:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:1313:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:1330:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_ib.cc:1339:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport.cc:123:11: style: The if condition is the same as the previous if condition [duplicateCondition] rccl-rocm-5.4.3/src/transport.cc:122:11: note: First condition rccl-rocm-5.4.3/src/transport.cc:123:11: note: Second condition rccl-rocm-5.4.3/src/transport.cc:74:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport.cc:238:1: style: Label 'cleanup' is not used. [unusedLabel] rccl-rocm-5.4.3/src/transport.cc:54:92: style: Parameter 'peerRecv' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/transport.cc:54:118: style: Parameter 'peerSend' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/transport.cc:56:23: style: Variable 'channel' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport.cc:74:14: style: Variable 'd' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport.cc:163:110: style: Parameter 'channel' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/transport.cc:187:27: style: Variable 'root' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport.cc:226:32: style: Variable 'devRoot' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport.cc:262:56: style: Parameter 'comm' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/transport.cc:265:25: style: Variable 'channel' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport/net_ib.cc:994:15: style: Condition 'nreqs>32' is always false [knownConditionTrueFalse] rccl-rocm-5.4.3/src/transport/net_ib.cc:968:13: note: Assuming that condition 'nreqs>8' is not redundant rccl-rocm-5.4.3/src/transport/net_ib.cc:994:15: note: Condition 'nreqs>32' is always false rccl-rocm-5.4.3/src/transport/net_ib.cc:1278:11: warning: Either the condition 'req' is redundant or there is possible null pointer dereference: req. [nullPointerRedundantCheck] rccl-rocm-5.4.3/src/transport/net_ib.cc:1285:13: note: Assuming that condition 'req' is not redundant rccl-rocm-5.4.3/src/transport/net_ib.cc:1278:11: note: Null pointer dereference rccl-rocm-5.4.3/src/transport/net_ib.cc:1296:9: warning: Either the condition 'req' is redundant or there is possible null pointer dereference: req. [nullPointerRedundantCheck] rccl-rocm-5.4.3/src/transport/net_ib.cc:1285:13: note: Assuming that condition 'req' is not redundant rccl-rocm-5.4.3/src/transport/net_ib.cc:1296:9: note: Null pointer dereference rccl-rocm-5.4.3/src/transport/net_ib.cc:94:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:593:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:618:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:621:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:631:26: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:688:26: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:705:36: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:707:34: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:718:26: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:731:26: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:806:26: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:883:31: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:905:63: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:908:57: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:917:18: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:923:18: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:938:31: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:951:41: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:1047:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:1051:23: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:1105:12: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:1125:25: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:1177:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:1215:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:1225:23: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:1248:29: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:1303:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:1317:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:1334:35: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_ib.cc:1092:15: style: Variable 'req->addr' is reassigned a value before the old one has been used. [redundantAssignment] rccl-rocm-5.4.3/src/transport/net_ib.cc:1085:15: note: req->addr is assigned rccl-rocm-5.4.3/src/transport/net_ib.cc:1092:15: note: req->addr is overwritten rccl-rocm-5.4.3/src/transport/net_ib.cc:157:14: style: The scope of the variable 'shownIbHcaEnv' can be reduced. [variableScope] rccl-rocm-5.4.3/src/transport/net_ib.cc:319:1: style: Label 'failure' is not used. [unusedLabel] rccl-rocm-5.4.3/src/transport/net_ib.cc:499:5: style: Label 'failure' is not used. [unusedLabel] rccl-rocm-5.4.3/src/transport/net_ib.cc:521:1: style: Label 'returning' is not used. [unusedLabel] rccl-rocm-5.4.3/src/transport/net_ib.cc:1247:56: style:inconclusive: Function 'ncclIbTest' argument 3 names different: declaration 'size' definition 'sizes'. [funcArgNamesDifferent] rccl-rocm-5.4.3/src/transport/net_ib.cc:873:56: note: Function 'ncclIbTest' argument 3 names different: declaration 'size' definition 'sizes'. rccl-rocm-5.4.3/src/transport/net_ib.cc:1247:56: note: Function 'ncclIbTest' argument 3 names different: declaration 'size' definition 'sizes'. rccl-rocm-5.4.3/src/transport/net_ib.cc:1097:14: style: Local variable 'r' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/transport/net_ib.cc:1066:12: note: Shadowed declaration rccl-rocm-5.4.3/src/transport/net_ib.cc:1097:14: note: Shadow variable rccl-rocm-5.4.3/src/transport/net_ib.cc:549:80: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/transport/net_ib.cc:1051:18: style: Variable 'mr' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport/net_ib.cc:1116:83: style: Parameter 'sizes' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/transport/net_ib.cc:1116:95: style: Parameter 'tags' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/transport/net_ib.cc:1125:20: style: Variable 'mr' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport/net_ib.cc:1214:68: style: Parameter 'sizes' can be declared as pointer to const. However it seems that 'ncclIbIflush' is a callback function, if 'sizes' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/src/transport/net_ib.cc:1355:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/src/transport/net_ib.cc:1214:68: note: Parameter 'sizes' can be declared as pointer to const rccl-rocm-5.4.3/src/transport/net_ib.cc:1225:18: style: Variable 'mr' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport/net_ib.cc:689:25: warning: Uninitialized variables: &qpInfo.spn, &qpInfo.iid [uninitvar] rccl-rocm-5.4.3/src/transport/net_ib.cc:674:25: note: Assuming condition is true rccl-rocm-5.4.3/src/transport/net_ib.cc:689:25: note: Uninitialized variables: &qpInfo.spn, &qpInfo.iid rccl-rocm-5.4.3/src/transport/net_ib.cc:807:25: error: Uninitialized variables: &qpInfo.fifoRkey, &qpInfo.fifoAddr [uninitvar] rccl-rocm-5.4.3/src/transport/net_socket.cc:31:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:42:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_IF_NAME_SIZE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:72:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:77:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:98:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_PTR_HOST [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:108:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:218:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:249:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:291:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:298:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:306:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:328:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:403:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:427:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_NET_MAX_REQUESTS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:454:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_NET_MAX_REQUESTS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:489:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:557:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_PTR_HOST [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:559:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:563:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_SOCKET_SEND [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:569:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:576:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:585:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/net_socket.cc:604:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:644:15: style: Condition 'ready' is always true [knownConditionTrueFalse] rccl-rocm-5.4.3/src/transport/coll_net.cc:637:23: note: Assignment 'ready=1', assigned value is 1 rccl-rocm-5.4.3/src/transport/coll_net.cc:644:15: note: Condition 'ready' is always true rccl-rocm-5.4.3/src/transport/coll_net.cc:193:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/src/transport/coll_net.cc:197:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/src/transport/coll_net.cc:202:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/src/transport/coll_net.cc:230:30: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:259:30: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:277:26: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:297:39: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:308:39: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:317:45: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:334:39: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:382:26: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:393:32: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:402:37: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:405:37: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:419:7: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:470:5: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:476:37: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:478:37: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:487:7: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:545:5: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:550:37: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:567:37: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:595:41: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:611:41: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:665:31: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:666:82: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:682:37: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:714:41: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:729:41: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:802:34: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:175:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:314:45: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:403:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:437:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:438:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:479:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:506:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:507:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/coll_net.cc:768:15: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] rccl-rocm-5.4.3/src/transport/coll_net.cc:784:13: style: The scope of the variable 'group' can be reduced. [variableScope] rccl-rocm-5.4.3/src/transport/coll_net.cc:183:55: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/transport/coll_net.cc:185:25: style: Variable 'mem' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport/coll_net.cc:268:52: style: Parameter 'send' can be declared as pointer to const. However it seems that 'sendFree' is a callback function, if 'send' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/src/transport/coll_net.cc:833:29: note: You might need to cast the function pointer here rccl-rocm-5.4.3/src/transport/coll_net.cc:268:52: note: Parameter 'send' can be declared as pointer to const rccl-rocm-5.4.3/src/transport/coll_net.cc:272:52: style: Parameter 'recv' can be declared as pointer to const. However it seems that 'recvFree' is a callback function, if 'recv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/src/transport/coll_net.cc:834:29: note: You might need to cast the function pointer here rccl-rocm-5.4.3/src/transport/coll_net.cc:272:52: note: Parameter 'recv' can be declared as pointer to const rccl-rocm-5.4.3/src/transport/coll_net.cc:277:20: style: Variable 'req' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport/coll_net.cc:382:20: style: Variable 'req' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport/coll_net.cc:633:28: style: Variable 'recvTail' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport/coll_net.cc:816:26: style: Variable 'sendHead' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport/p2p.cc:77:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/p2p.cc:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/p2p.cc:199:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/p2p.cc:207:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipErrorPeerAccessAlreadyEnabled [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/p2p.cc:236:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/p2p.cc:297:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclConnect [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/p2p.cc:335:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_NUM_PROTOCOLS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/p2p.cc:370:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/p2p.cc:408:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/p2p.cc:419:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/p2p.cc:428:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_PROTO_SIMPLE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/p2p.cc:461:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/p2p.cc:481:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/p2p.cc:499:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_STEPS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/p2p.cc:513:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/p2p.cc:517:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclProxyOpReady [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/coll_net.cc:101:7: style: struct member 'sendResources::nranks' is never used. [unusedStructMember] rccl-rocm-5.4.3/src/transport/coll_net.cc:121:7: style: struct member 'recvResources::nranks' is never used. [unusedStructMember] rccl-rocm-5.4.3/src/transport/coll_net.cc:131:22: style: struct member 'recvResources::curr_hdp_reg' is never used. [unusedStructMember] rccl-rocm-5.4.3/src/transport/net_socket.cc:41:20: style: Condition 'ncclNetIfs==-1' is always true [knownConditionTrueFalse] rccl-rocm-5.4.3/src/transport/net_socket.cc:39:18: note: Assuming that condition 'ncclNetIfs==-1' is not redundant rccl-rocm-5.4.3/src/transport/net_socket.cc:41:20: note: Condition 'ncclNetIfs==-1' is always true rccl-rocm-5.4.3/src/transport/net_socket.cc:203:48: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_socket.cc:308:37: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_socket.cc:332:37: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_socket.cc:377:40: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_socket.cc:486:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_socket.cc:519:53: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_socket.cc:562:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_socket.cc:563:70: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_socket.cc:568:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_socket.cc:570:77: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_socket.cc:580:39: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_socket.cc:589:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/net_socket.cc:513:9: style: The scope of the variable 'chunkOffset' can be reduced. [variableScope] rccl-rocm-5.4.3/src/transport/net_socket.cc:30:48: style: Parameter 'devName' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/transport/net_socket.cc:75:46: style: Parameter 'devName' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/transport/net_socket.cc:204:26: style: Variable 'comm' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport/net_socket.cc:556:36: style: Parameter 'comm' can be declared as pointer to const. However it seems that 'ncclSocketRegMr' is a callback function, if 'comm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/src/transport/net_socket.cc:619:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/src/transport/net_socket.cc:556:36: note: Parameter 'comm' can be declared as pointer to const rccl-rocm-5.4.3/src/transport/net_socket.cc:556:48: style: Parameter 'data' can be declared as pointer to const. However it seems that 'ncclSocketRegMr' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/src/transport/net_socket.cc:619:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/src/transport/net_socket.cc:556:48: note: Parameter 'data' can be declared as pointer to const rccl-rocm-5.4.3/src/transport/net_socket.cc:559:38: style: Parameter 'comm' can be declared as pointer to const. However it seems that 'ncclSocketDeregMr' is a callback function, if 'comm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/src/transport/net_socket.cc:621:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/src/transport/net_socket.cc:559:38: note: Parameter 'comm' can be declared as pointer to const rccl-rocm-5.4.3/src/transport/net_socket.cc:559:50: style: Parameter 'mhandle' can be declared as pointer to const. However it seems that 'ncclSocketDeregMr' is a callback function, if 'mhandle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/src/transport/net_socket.cc:621:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/src/transport/net_socket.cc:559:50: note: Parameter 'mhandle' can be declared as pointer to const rccl-rocm-5.4.3/src/transport/net_socket.cc:567:71: style: Parameter 'sizes' can be declared as pointer to const. However it seems that 'ncclSocketIrecv' is a callback function, if 'sizes' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/src/transport/net_socket.cc:623:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/src/transport/net_socket.cc:567:71: note: Parameter 'sizes' can be declared as pointer to const rccl-rocm-5.4.3/src/transport/net_socket.cc:574:37: style: Parameter 'recvComm' can be declared as pointer to const. However it seems that 'ncclSocketIflush' is a callback function, if 'recvComm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/src/transport/net_socket.cc:624:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/src/transport/net_socket.cc:574:37: note: Parameter 'recvComm' can be declared as pointer to const rccl-rocm-5.4.3/src/transport/net_socket.cc:574:72: style: Parameter 'sizes' can be declared as pointer to const. However it seems that 'ncclSocketIflush' is a callback function, if 'sizes' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/src/transport/net_socket.cc:624:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/src/transport/net_socket.cc:574:72: note: Parameter 'sizes' can be declared as pointer to const rccl-rocm-5.4.3/src/transport/shm.cc:50:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/shm.cc:73:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclConnect [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/shm.cc:96:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclConnect [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/shm.cc:132:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/shm.cc:167:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/shm.cc:197:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/shm.cc:205:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/shm.cc:211:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/shm.cc:229:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclInternalError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/shm.cc:249:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_STEPS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/shm.cc:261:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_STEPS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/shm.cc:269:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclProxyOpReady [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/shm.cc:328:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclProxyOpReady [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/AllGather_InPlace.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollAllGather [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/AllGather_ManagedMem.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollAllGather [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/AllGather_OutOfPlace.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollAllGather [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/AllReduce_Clique.cpp:18:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollAllReduce [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/AllReduce_GroupCall.cpp:15:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollAllReduce [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/transport/shm.cc:83:54: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:83:83: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:106:54: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:106:83: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:130:40: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:136:57: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:136:89: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:164:40: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:171:57: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:171:89: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:193:40: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:201:40: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:245:36: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:257:36: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:272:40: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:285:40: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:331:40: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:344:40: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/shm.cc:74:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/shm.cc:97:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/shm.cc:129:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/shm.cc:140:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/shm.cc:140:82: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/shm.cc:165:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/shm.cc:174:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/shm.cc:174:82: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/shm.cc:208:110: style: Parameter 'reqBuff' can be declared as pointer to const. However it seems that 'shmSendProxyConnect' is a callback function, if 'reqBuff' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/src/transport/shm.cc:397:40: note: You might need to cast the function pointer here rccl-rocm-5.4.3/src/transport/shm.cc:208:110: note: Parameter 'reqBuff' can be declared as pointer to const rccl-rocm-5.4.3/src/transport/shm.cc:226:110: style: Parameter 'reqBuff' can be declared as pointer to const. However it seems that 'shmRecvProxyConnect' is a callback function, if 'reqBuff' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/src/transport/shm.cc:402:40: note: You might need to cast the function pointer here rccl-rocm-5.4.3/src/transport/shm.cc:226:110: note: Parameter 'reqBuff' can be declared as pointer to const rccl-rocm-5.4.3/src/transport/shm.cc:293:23: style: Variable 'sizesFifo' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport/shm.cc:294:28: style: Variable 'recvTail' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport/shm.cc:352:23: style: Variable 'sizesFifo' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport/shm.cc:353:28: style: Variable 'recvTail' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/proxy.cc:646:27: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/proxy.cc:839:72: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/proxy.cc:876:42: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/proxy.cc:1004:28: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:170:11: style: Condition 'p2p==0' is always true [knownConditionTrueFalse] rccl-rocm-5.4.3/src/transport/p2p.cc:149:11: note: Assuming that condition 'p2p!=0' is not redundant rccl-rocm-5.4.3/src/transport/p2p.cc:170:11: note: Condition 'p2p==0' is always true rccl-rocm-5.4.3/src/transport/p2p.cc:241:37: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:282:73: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:322:71: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:328:40: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:332:84: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:364:40: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:374:51: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:374:76: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:381:86: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:404:40: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:412:40: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:433:56: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:433:81: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:443:18: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:445:35: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:446:30: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:462:16: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:464:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:465:28: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:479:36: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:482:27: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:494:38: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:520:40: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:533:40: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/src/transport/p2p.cc:246:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/p2p.cc:298:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/p2p.cc:330:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/p2p.cc:334:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/p2p.cc:339:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/proxy.cc:246:7: style: The scope of the variable 'shared' can be reduced. [variableScope] rccl-rocm-5.4.3/src/transport/p2p.cc:365:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/p2p.cc:389:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/p2p.cc:394:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/src/transport/p2p.cc:202:49: style: Parameter 'myInfo' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/transport/p2p.cc:225:72: style: Parameter 'graph' can be declared as pointer to const. However it seems that 'p2pSendSetup' is a callback function, if 'graph' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/src/transport/p2p.cc:576:5: note: You might need to cast the function pointer here rccl-rocm-5.4.3/src/transport/p2p.cc:225:72: note: Parameter 'graph' can be declared as pointer to const rccl-rocm-5.4.3/src/transport/p2p.cc:289:72: style: Parameter 'graph' can be declared as pointer to const. However it seems that 'p2pRecvSetup' is a callback function, if 'graph' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/src/transport/p2p.cc:577:5: note: You might need to cast the function pointer here rccl-rocm-5.4.3/src/transport/p2p.cc:289:72: note: Parameter 'graph' can be declared as pointer to const rccl-rocm-5.4.3/src/transport/p2p.cc:327:53: style: Parameter 'comm' can be declared as pointer to const. However it seems that 'p2pSendConnect' is a callback function, if 'comm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/src/transport/p2p.cc:576:19: note: You might need to cast the function pointer here rccl-rocm-5.4.3/src/transport/p2p.cc:327:53: note: Parameter 'comm' can be declared as pointer to const rccl-rocm-5.4.3/src/transport/p2p.cc:363:46: style: Parameter 'comm' can be declared as pointer to const. However it seems that 'p2pRecvConnect' is a callback function, if 'comm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/src/transport/p2p.cc:577:19: note: You might need to cast the function pointer here rccl-rocm-5.4.3/src/transport/p2p.cc:363:46: note: Parameter 'comm' can be declared as pointer to const rccl-rocm-5.4.3/src/transport/p2p.cc:541:23: style: Variable 'sizesFifo' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/transport/p2p.cc:542:28: style: Variable 'recvTail' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/test/AllReduce_InPlace.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollAllReduce [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/src/proxy.cc:862:1: style: Label 'error' is not used. [unusedLabel] rccl-rocm-5.4.3/src/proxy.cc:333:14: style: Local variable 'op' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/proxy.cc:302:23: note: Shadowed declaration rccl-rocm-5.4.3/src/proxy.cc:333:14: note: Shadow variable rccl-rocm-5.4.3/src/proxy.cc:539:28: style: Local variable 'profArgs' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/src/proxy.cc:529:24: note: Shadowed declaration rccl-rocm-5.4.3/src/proxy.cc:539:28: note: Shadow variable rccl-rocm-5.4.3/src/proxy.cc:77:82: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/proxy.cc:94:49: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/proxy.cc:97:30: style: Variable 'sub' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/proxy.cc:294:49: style: Parameter 'comm' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/proxy.cc:294:113: style: Parameter 'proxyOp' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/proxy.cc:396:26: style: Variable 'tree' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/proxy.cc:403:26: style: Variable 'tree' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/proxy.cc:432:23: style: Variable 'channel' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/proxy.cc:444:27: style: Variable 'peer' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/proxy.cc:613:52: style: Parameter 'comm' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/src/proxy.cc:832:29: style: Variable 'tcomm' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/src/proxy.cc:916:34: style: Variable 'state' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/test/AllReduce_ManagedMem.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollAllReduce [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/AllReduce_OutOfPlace.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollAllReduce [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/AllToAll_ManagedMem.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollAllToAll [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/AllToAll_OutOfPlace.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollAllToAll [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/AllReduce_PreMultScalar.cpp:16:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollAllReduce [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/Broadcast_InPlace.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollBroadcast [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/AllToAllv_OutOfPlace.cpp:56:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_RANKS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/Broadcast_ManagedMem.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollBroadcast [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/Broadcast_OutOfPlace.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollBroadcast [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/Gather_InPlace.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollGather [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/Gather_ManagedMem.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollGather [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/Gather_OutOfPlace.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollGather [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/ReduceScatter_InPlace.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollReduceScatter [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/ReduceScatter_ManagedMem.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollReduceScatter [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/ReduceScatter_OutOfPlace.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollReduceScatter [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/Reduce_InPlace.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollReduce [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/Reduce_ManagedMem.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollReduce [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/Reduce_OutOfPlace.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollReduce [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/Scatter_InPlace.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollScatter [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/Scatter_ManagedMem.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollScatter [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/Scatter_OutOfPlace.cpp:15:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollScatter [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/SendRecv_SinglePairs.cpp:39:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclCollSend [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/EnvVars.cpp:20:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HSA_AGENT_INFO_DEVICE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/EnvVars.cpp:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclNumOps [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/CollectiveArgs.cpp:43:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclScalarDevice [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/CollectiveArgs.cpp:68:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/CollectiveArgs.cpp:117:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipMemcpyDeviceToHost [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/CollectiveArgs.cpp:151:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/CollectiveArgs.cpp:183:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclNumOps [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/EnvVars.cpp:128:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rccl-rocm-5.4.3/test/common/EnvVars.cpp:132:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rccl-rocm-5.4.3/test/common/EnvVars.cpp:106:44: style:inconclusive: Technically the member function 'RcclUnitTesting::EnvVars::GetAllSupportedRedOps' can be const. [functionConst] rccl-rocm-5.4.3/test/common/EnvVars.hpp:32:40: note: Technically the member function 'RcclUnitTesting::EnvVars::GetAllSupportedRedOps' can be const. rccl-rocm-5.4.3/test/common/EnvVars.cpp:106:44: note: Technically the member function 'RcclUnitTesting::EnvVars::GetAllSupportedRedOps' can be const. rccl-rocm-5.4.3/test/common/EnvVars.cpp:111:47: style:inconclusive: Technically the member function 'RcclUnitTesting::EnvVars::GetAllSupportedDataTypes' can be const. [functionConst] rccl-rocm-5.4.3/test/common/EnvVars.hpp:33:40: note: Technically the member function 'RcclUnitTesting::EnvVars::GetAllSupportedDataTypes' can be const. rccl-rocm-5.4.3/test/common/EnvVars.cpp:111:47: note: Technically the member function 'RcclUnitTesting::EnvVars::GetAllSupportedDataTypes' can be const. rccl-rocm-5.4.3/test/common/EnvVars.cpp:116:16: performance:inconclusive: Technically the member function 'RcclUnitTesting::EnvVars::GetEnvVar' can be static (but you may consider moving to unnamed namespace). [functionStatic] rccl-rocm-5.4.3/test/common/EnvVars.hpp:42:9: note: Technically the member function 'RcclUnitTesting::EnvVars::GetEnvVar' can be static (but you may consider moving to unnamed namespace). rccl-rocm-5.4.3/test/common/EnvVars.cpp:116:16: note: Technically the member function 'RcclUnitTesting::EnvVars::GetEnvVar' can be static (but you may consider moving to unnamed namespace). rccl-rocm-5.4.3/test/common/EnvVars.cpp:123:37: performance:inconclusive: Technically the member function 'RcclUnitTesting::EnvVars::GetEnvVarsList' can be static (but you may consider moving to unnamed namespace). [functionStatic] rccl-rocm-5.4.3/test/common/EnvVars.hpp:43:30: note: Technically the member function 'RcclUnitTesting::EnvVars::GetEnvVarsList' can be static (but you may consider moving to unnamed namespace). rccl-rocm-5.4.3/test/common/EnvVars.cpp:123:37: note: Technically the member function 'RcclUnitTesting::EnvVars::GetEnvVarsList' can be static (but you may consider moving to unnamed namespace). rccl-rocm-5.4.3/test/common/EnvVars.cpp:18:22: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/test/common/EnvVars.cpp:50:15: performance: Range variable 's' should be declared as const reference. [iterateByValue] rccl-rocm-5.4.3/test/common/EnvVars.cpp:70:15: performance: Range variable 's' should be declared as const reference. [iterateByValue] rccl-rocm-5.4.3/test/common/EnvVars.cpp:116:44: performance: Function parameter 'varname' should be passed by const reference. [passedByValue] rccl-rocm-5.4.3/test/common/EnvVars.cpp:123:70: performance: Function parameter 'varname' should be passed by const reference. [passedByValue] rccl-rocm-5.4.3/test/common/CollectiveArgs.cpp:19:59: style:inconclusive: Function 'SetArgs' argument 8 names different: declaration 'optionalArgs' definition 'optionalColArgs'. [funcArgNamesDifferent] rccl-rocm-5.4.3/test/common/CollectiveArgs.hpp:127:44: note: Function 'SetArgs' argument 8 names different: declaration 'optionalArgs' definition 'optionalColArgs'. rccl-rocm-5.4.3/test/common/CollectiveArgs.cpp:19:59: note: Function 'SetArgs' argument 8 names different: declaration 'optionalArgs' definition 'optionalColArgs'. rccl-rocm-5.4.3/test/common/PrepDataFuncs.cpp:100:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclAvg [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PrepDataFuncs.cpp:178:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipMemcpyHostToDevice [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PrepDataFuncs.cpp:211:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclAvg [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PrepDataFuncs.cpp:288:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipMemcpyHostToDevice [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PrepDataFuncs.cpp:338:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipMemcpyHostToDevice [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PrepDataFuncs.cpp:378:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipMemcpyHostToDevice [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:39:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:49:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I1 [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:71:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:83:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:93:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:103:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:130:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:157:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I1 [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:178:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I1 [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:208:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I1 [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:241:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I1 [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:268:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I1 [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:298:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I1 [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:355:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I1 [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:51:11: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:59:11: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:74:9: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:320:9: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:322:9: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:324:9: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:326:9: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:328:9: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:330:9: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:332:9: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:334:9: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:336:9: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/PtrUnion.cpp:338:9: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/PrepDataFuncs.cpp:39:7: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/PrepDataFuncs.cpp:39:7: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/PrepDataFuncs.cpp:46:7: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/PrepDataFuncs.cpp:46:7: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/EnvVars.hpp:42:37: performance: Function parameter 'varname' should be passed by const reference. [passedByValue] rccl-rocm-5.4.3/test/common/EnvVars.hpp:43:63: performance: Function parameter 'varname' should be passed by const reference. [passedByValue] rccl-rocm-5.4.3/test/common/TestBed.cpp:119:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBed.cpp:193:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBed.cpp:217:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBed.cpp:239:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBed.cpp:271:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBed.cpp:316:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBed.cpp:329:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:93:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:112:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:151:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:226:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:281:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:323:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:351:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:548:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:584:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:618:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:48:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:93:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:237:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/GraphBench/GraphBench.cpp:55:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:28:17: warning: Member variable 'TestBedChild::pid' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:28:17: warning: Member variable 'TestBedChild::parentWriteFd' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:28:17: warning: Member variable 'TestBedChild::parentReadFd' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:28:17: warning: Member variable 'TestBedChild::childWriteFd' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:28:17: warning: Member variable 'TestBedChild::childReadFd' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:28:17: warning: Member variable 'TestBedChild::totalRanks' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:28:17: warning: Member variable 'TestBedChild::rankOffset' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:28:17: warning: Member variable 'TestBedChild::numCollectivesInGroup' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/test/common/TestBedChild.cpp:630:25: performance:inconclusive: Technically the member function 'RcclUnitTesting::TestBedChild::Stop' can be static (but you may consider moving to unnamed namespace). [functionStatic] rccl-rocm-5.4.3/test/common/TestBedChild.hpp:109:13: note: Technically the member function 'RcclUnitTesting::TestBedChild::Stop' can be static (but you may consider moving to unnamed namespace). rccl-rocm-5.4.3/test/common/TestBedChild.cpp:630:25: note: Technically the member function 'RcclUnitTesting::TestBedChild::Stop' can be static (but you may consider moving to unnamed namespace). rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:179:32: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:126:7: warning: If memory allocation fails, then there is a possible null pointer dereference: iputCpu [nullPointerOutOfMemory] rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:120:37: note: Assuming allocation function fails rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:120:22: note: Assignment 'iputCpu=(float*)malloc(N*sizeof(float))', assigned value is 0 rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:126:7: note: Null pointer dereference rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:127:7: warning: If memory allocation fails, then there is a possible null pointer dereference: oputCpu [nullPointerOutOfMemory] rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:121:37: note: Assuming allocation function fails rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:121:22: note: Assignment 'oputCpu=(float*)malloc(N*sizeof(float))', assigned value is 0 rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:127:7: note: Null pointer dereference rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:115:7: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:116:7: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:120:22: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:121:22: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:242:33: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/HelloRccl/HelloRccl.cpp:218:18: style: Parameter 'argv0' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:96:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:152:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:173:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_SUCCESS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/test/common/TestBed.cpp:355:5: error: Exception thrown in function declared not to throw exceptions. [throwInNoexceptFunction] rccl-rocm-5.4.3/test/common/TestBed.cpp:119:5: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/TestBed.cpp:120:5: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/TestBed.cpp:158:7: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/TestBed.cpp:193:7: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/TestBed.cpp:217:7: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/TestBed.cpp:239:7: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/TestBed.cpp:271:78: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/TestBed.cpp:316:7: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/TestBed.cpp:329:7: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/test/common/TestBed.cpp:87:64: style:inconclusive: Function 'InitComms' argument 1 names different: declaration 'deviceIdsPerChild' definition 'deviceIdsPerProcess'. [funcArgNamesDifferent] rccl-rocm-5.4.3/test/common/TestBed.hpp:35:57: note: Function 'InitComms' argument 1 names different: declaration 'deviceIdsPerChild' definition 'deviceIdsPerProcess'. rccl-rocm-5.4.3/test/common/TestBed.cpp:87:64: note: Function 'InitComms' argument 1 names different: declaration 'deviceIdsPerChild' definition 'deviceIdsPerProcess'. rccl-rocm-5.4.3/test/common/TestBed.cpp:416:67: style:inconclusive: Function 'RunSimpleSweep' argument 2 names different: declaration 'dataTypes' definition 'tmpDataTypes'. [funcArgNamesDifferent] rccl-rocm-5.4.3/test/common/TestBed.hpp:116:60: note: Function 'RunSimpleSweep' argument 2 names different: declaration 'dataTypes' definition 'tmpDataTypes'. rccl-rocm-5.4.3/test/common/TestBed.cpp:416:67: note: Function 'RunSimpleSweep' argument 2 names different: declaration 'dataTypes' definition 'tmpDataTypes'. rccl-rocm-5.4.3/test/common/TestBed.cpp:417:67: style:inconclusive: Function 'RunSimpleSweep' argument 3 names different: declaration 'redOps' definition 'tmpRedOps'. [funcArgNamesDifferent] rccl-rocm-5.4.3/test/common/TestBed.hpp:117:60: note: Function 'RunSimpleSweep' argument 3 names different: declaration 'redOps' definition 'tmpRedOps'. rccl-rocm-5.4.3/test/common/TestBed.cpp:417:67: note: Function 'RunSimpleSweep' argument 3 names different: declaration 'redOps' definition 'tmpRedOps'. rccl-rocm-5.4.3/test/common/TestBed.cpp:435:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] rccl-rocm-5.4.3/test/common/TestBed.cpp:450:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:50:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sendbuf [nullPointerOutOfMemory] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:191:32: note: Assuming allocation function fails rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:191:16: note: Assignment 'h_sendbuff=(float*)malloc(size*sizeof(float))', assigned value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:192:16: note: Calling function 'init_sendbuf', 1st argument 'h_sendbuff' value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:50:5: note: Null pointer dereference rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:57:5: warning: If memory allocation fails, then there is a possible null pointer dereference: recvbuf [nullPointerOutOfMemory] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:196:32: note: Assuming allocation function fails rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:196:16: note: Assignment 'h_recvbuff=(float*)malloc(size*sizeof(float))', assigned value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:197:13: note: Calling function 'init_zero', 1st argument 'h_recvbuff' value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:57:5: note: Null pointer dereference rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:183:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:191:16: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:196:16: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:202:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:61:35: style: Parameter 'recvbuf' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:108:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:145:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:167:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipStream_t [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:165:33: style: Variable 'localRank' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:179:12: style: Variable 'nDev' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/GraphBench/GraphBench.cpp:115:5: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:165:23: style: Variable 'localRank' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-mpi-multirank.cc:179:7: style: Variable 'nDev' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/GraphBench/GraphBench.cpp:90:7: warning: If memory allocation fails, then there is a possible null pointer dereference: pattern [nullPointerOutOfMemory] rccl-rocm-5.4.3/tools/GraphBench/GraphBench.cpp:82:31: note: Assuming allocation function fails rccl-rocm-5.4.3/tools/GraphBench/GraphBench.cpp:82:18: note: Assignment 'pattern=(int*)malloc(maxN*sizeof(int))', assigned value is 0 rccl-rocm-5.4.3/tools/GraphBench/GraphBench.cpp:90:7: note: Null pointer dereference rccl-rocm-5.4.3/tools/GraphBench/GraphBench.cpp:72:14: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/GraphBench/GraphBench.cpp:77:5: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/GraphBench/GraphBench.cpp:78:5: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/GraphBench/GraphBench.cpp:80:18: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/GraphBench/GraphBench.cpp:81:18: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/GraphBench/GraphBench.cpp:82:18: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:97:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:153:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:173:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_SUCCESS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:108:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:145:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:169:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipStream_t [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:50:7: warning: If memory allocation fails, then there is a possible null pointer dereference: sendbuf [nullPointerOutOfMemory] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:194:32: note: Assuming allocation function fails rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:194:16: note: Assignment 'h_sendbuff=(float*)malloc(sendsize*sizeof(float))', assigned value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:195:16: note: Calling function 'init_sendbuf', 1st argument 'h_sendbuff' value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:50:7: note: Null pointer dereference rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:57:5: warning: If memory allocation fails, then there is a possible null pointer dereference: recvbuf [nullPointerOutOfMemory] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:199:32: note: Assuming allocation function fails rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:199:16: note: Assignment 'h_recvbuff=(float*)malloc(recvsize*sizeof(float))', assigned value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:200:13: note: Calling function 'init_zero', 1st argument 'h_recvbuff' value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:57:5: note: Null pointer dereference rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:186:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:194:16: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:199:16: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:206:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:61:35: style: Parameter 'recvbuf' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:165:33: style: Variable 'localRank' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:179:12: style: Variable 'nDev' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:165:23: style: Variable 'localRank' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-mpi-multirank.cc:179:7: style: Variable 'nDev' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:174:7: warning: If memory allocation fails, then there is a possible null pointer dereference: h_sendbuff [nullPointerOutOfMemory] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:163:39: note: Assuming allocation function fails rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:163:24: note: Assignment 'h_sendbuff=(float**)malloc(nDev*sizeof(float*))', assigned value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:173:7: note: Assuming condition is false rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:174:7: note: Null pointer dereference rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:175:20: warning: If memory allocation fails, then there is a possible null pointer dereference: h_sendbuff [nullPointerOutOfMemory] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:163:39: note: Assuming allocation function fails rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:163:24: note: Assignment 'h_sendbuff=(float**)malloc(nDev*sizeof(float*))', assigned value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:173:7: note: Assuming condition is false rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:175:20: note: Null pointer dereference rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:176:7: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: sendbuff [nullPointerOutOfMemory] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:164:39: note: Assuming allocation function fails rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:164:24: note: Assignment 'sendbuff=(float**)malloc(nDev*sizeof(float*))', assigned value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:173:7: note: Assuming condition is false rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:176:7: note: Null pointer dereference rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:176:7: warning: If memory allocation fails, then there is a possible null pointer dereference: h_sendbuff [nullPointerOutOfMemory] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:163:39: note: Assuming allocation function fails rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:163:24: note: Assignment 'h_sendbuff=(float**)malloc(nDev*sizeof(float*))', assigned value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:173:7: note: Assuming condition is false rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:176:7: note: Null pointer dereference rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:173:7: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:164:39: note: Assuming allocation function fails rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:164:24: note: Assignment 'sendbuff=(float**)malloc(nDev*sizeof(float*))', assigned value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:173:7: note: Null pointer addition rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:163:24: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:164:24: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:165:24: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:166:24: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:167:24: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:168:24: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:174:23: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:179:23: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:200:7: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-allreduce-multirank.cc:46:35: style: Parameter 'recvbuf' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:176:7: warning: If memory allocation fails, then there is a possible null pointer dereference: h_sendbuff [nullPointerOutOfMemory] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:165:39: note: Assuming allocation function fails rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:165:24: note: Assignment 'h_sendbuff=(float**)malloc(nDev*sizeof(float*))', assigned value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:175:7: note: Assuming condition is false rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:176:7: note: Null pointer dereference rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:177:20: warning: If memory allocation fails, then there is a possible null pointer dereference: h_sendbuff [nullPointerOutOfMemory] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:165:39: note: Assuming allocation function fails rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:165:24: note: Assignment 'h_sendbuff=(float**)malloc(nDev*sizeof(float*))', assigned value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:175:7: note: Assuming condition is false rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:177:20: note: Null pointer dereference rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:178:7: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: sendbuff [nullPointerOutOfMemory] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:166:39: note: Assuming allocation function fails rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:166:24: note: Assignment 'sendbuff=(float**)malloc(nDev*sizeof(float*))', assigned value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:175:7: note: Assuming condition is false rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:178:7: note: Null pointer dereference rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:178:7: warning: If memory allocation fails, then there is a possible null pointer dereference: h_sendbuff [nullPointerOutOfMemory] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:165:39: note: Assuming allocation function fails rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:165:24: note: Assignment 'h_sendbuff=(float**)malloc(nDev*sizeof(float*))', assigned value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:175:7: note: Assuming condition is false rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:178:7: note: Null pointer dereference rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:175:7: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:166:39: note: Assuming allocation function fails rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:166:24: note: Assignment 'sendbuff=(float**)malloc(nDev*sizeof(float*))', assigned value is 0 rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:175:7: note: Null pointer addition rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:165:24: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:166:24: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:167:24: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:168:24: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:169:24: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:170:24: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:176:23: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:181:23: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:202:7: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/MultiRank/rccl-reducescatter-multirank.cc:46:35: style: Parameter 'recvbuf' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/ib-test/utils.cpp:38:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclDebugLog [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/ib-test/utils.cpp:45:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclNetIb [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/ib-test/utils.cpp:54:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSystemError [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/ib-test/utils.cpp:74:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prefix [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/ib-test/utils.cpp:113:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prefix [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:135:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_STEPS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:169:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_STEPS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:236:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:290:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:307:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_STEPS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:420:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:452:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:469:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_STEPS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:614:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_STEPS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:106:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARP_SIZE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/ib-test/utils.cpp:108:62: style: Parameter 'ifList' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:82:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:94:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_INIT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:111:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:125:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:134:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_INIT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:139:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:165:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:177:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_CONN_IDX_P2P_NET [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:204:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_CONN_IDX_P2P_NET [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:223:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:232:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_INIT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:242:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_INIT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:188:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:79:117: style: Parameter 'info1' can be declared as pointer to const. However it seems that 'p2pCanConnect' is a callback function, if 'info1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:116:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/tools/topo_expl/model.cpp:79:117: note: Parameter 'info1' can be declared as pointer to const rccl-rocm-5.4.3/tools/topo_expl/model.cpp:79:145: style: Parameter 'info2' can be declared as pointer to const. However it seems that 'p2pCanConnect' is a callback function, if 'info2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:116:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/tools/topo_expl/model.cpp:79:145: note: Parameter 'info2' can be declared as pointer to const rccl-rocm-5.4.3/tools/topo_expl/model.cpp:109:44: style: Parameter 'comm' can be declared as pointer to const. However it seems that 'p2pRecvSetup' is a callback function, if 'comm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:118:5: note: You might need to cast the function pointer here rccl-rocm-5.4.3/tools/topo_expl/model.cpp:109:44: note: Parameter 'comm' can be declared as pointer to const rccl-rocm-5.4.3/tools/topo_expl/model.cpp:109:72: style: Parameter 'graph' can be declared as pointer to const. However it seems that 'p2pRecvSetup' is a callback function, if 'graph' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:118:5: note: You might need to cast the function pointer here rccl-rocm-5.4.3/tools/topo_expl/model.cpp:109:72: note: Parameter 'graph' can be declared as pointer to const rccl-rocm-5.4.3/tools/topo_expl/model.cpp:109:100: style: Parameter 'myInfo' can be declared as pointer to const. However it seems that 'p2pRecvSetup' is a callback function, if 'myInfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:118:5: note: You might need to cast the function pointer here rccl-rocm-5.4.3/tools/topo_expl/model.cpp:109:100: note: Parameter 'myInfo' can be declared as pointer to const rccl-rocm-5.4.3/tools/topo_expl/model.cpp:109:129: style: Parameter 'peerInfo' can be declared as pointer to const. However it seems that 'p2pRecvSetup' is a callback function, if 'peerInfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:118:5: note: You might need to cast the function pointer here rccl-rocm-5.4.3/tools/topo_expl/model.cpp:109:129: note: Parameter 'peerInfo' can be declared as pointer to const rccl-rocm-5.4.3/tools/topo_expl/model.cpp:110:25: style: Parameter 'connectInfo' can be declared as pointer to const. However it seems that 'p2pRecvSetup' is a callback function, if 'connectInfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:118:5: note: You might need to cast the function pointer here rccl-rocm-5.4.3/tools/topo_expl/model.cpp:110:25: note: Parameter 'connectInfo' can be declared as pointer to const rccl-rocm-5.4.3/tools/topo_expl/model.cpp:110:61: style: Parameter 'recv' can be declared as pointer to const. However it seems that 'p2pRecvSetup' is a callback function, if 'recv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:118:5: note: You might need to cast the function pointer here rccl-rocm-5.4.3/tools/topo_expl/model.cpp:110:61: note: Parameter 'recv' can be declared as pointer to const rccl-rocm-5.4.3/tools/topo_expl/model.cpp:122:117: style: Parameter 'info1' can be declared as pointer to const. However it seems that 'shmCanConnect' is a callback function, if 'info1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:144:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/tools/topo_expl/model.cpp:122:117: note: Parameter 'info1' can be declared as pointer to const rccl-rocm-5.4.3/tools/topo_expl/model.cpp:122:145: style: Parameter 'info2' can be declared as pointer to const. However it seems that 'shmCanConnect' is a callback function, if 'info2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:144:3: note: You might need to cast the function pointer here rccl-rocm-5.4.3/tools/topo_expl/model.cpp:122:145: note: Parameter 'info2' can be declared as pointer to const rccl-rocm-5.4.3/tools/topo_expl/model.cpp:138:44: style: Parameter 'comm' can be declared as pointer to const. However it seems that 'shmRecvSetup' is a callback function, if 'comm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:146:5: note: You might need to cast the function pointer here rccl-rocm-5.4.3/tools/topo_expl/model.cpp:138:44: note: Parameter 'comm' can be declared as pointer to const rccl-rocm-5.4.3/tools/topo_expl/model.cpp:138:72: style: Parameter 'graph' can be declared as pointer to const. However it seems that 'shmRecvSetup' is a callback function, if 'graph' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:146:5: note: You might need to cast the function pointer here rccl-rocm-5.4.3/tools/topo_expl/model.cpp:138:72: note: Parameter 'graph' can be declared as pointer to const rccl-rocm-5.4.3/tools/topo_expl/model.cpp:138:100: style: Parameter 'myInfo' can be declared as pointer to const. However it seems that 'shmRecvSetup' is a callback function, if 'myInfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:146:5: note: You might need to cast the function pointer here rccl-rocm-5.4.3/tools/topo_expl/model.cpp:138:100: note: Parameter 'myInfo' can be declared as pointer to const rccl-rocm-5.4.3/tools/topo_expl/model.cpp:138:129: style: Parameter 'peerInfo' can be declared as pointer to const. However it seems that 'shmRecvSetup' is a callback function, if 'peerInfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:146:5: note: You might need to cast the function pointer here rccl-rocm-5.4.3/tools/topo_expl/model.cpp:138:129: note: Parameter 'peerInfo' can be declared as pointer to const rccl-rocm-5.4.3/tools/topo_expl/model.cpp:138:159: style: Parameter 'connectInfo' can be declared as pointer to const. However it seems that 'shmRecvSetup' is a callback function, if 'connectInfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:146:5: note: You might need to cast the function pointer here rccl-rocm-5.4.3/tools/topo_expl/model.cpp:138:159: note: Parameter 'connectInfo' can be declared as pointer to const rccl-rocm-5.4.3/tools/topo_expl/model.cpp:138:194: style: Parameter 'recv' can be declared as pointer to const. However it seems that 'shmRecvSetup' is a callback function, if 'recv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:146:5: note: You might need to cast the function pointer here rccl-rocm-5.4.3/tools/topo_expl/model.cpp:138:194: note: Parameter 'recv' can be declared as pointer to const rccl-rocm-5.4.3/tools/topo_expl/model.cpp:153:7: style: struct member 'setupReq::localRank' is never used. [unusedStructMember] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:154:7: style: struct member 'setupReq::remoteRank' is never used. [unusedStructMember] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:172:17: style: Variable 'req.channelId' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:173:17: style: Variable 'req.connIndex' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:198:17: style: Variable 'req.channelId' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/topo_expl/model.cpp:199:17: style: Variable 'req.connIndex' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/TransferBench/EnvVars.hpp:62:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipDeviceAttributeMaxSharedMemoryPerMultiprocessor [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/TransferBench/GetClosestNumaNode.hpp:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HSA_AMD_MEMORY_POOL_INFO_GLOBAL_FLAGS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/TransferBench/GetClosestNumaNode.hpp:68:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HSA_AGENT_INFO_DEVICE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/TransferBench/GetClosestNumaNode.hpp:89:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HSA_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:79:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipDeviceAttributeMultiprocessorCount [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:457:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:490:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:522:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:743:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:773:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPOL_BIND [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:824:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:907:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipMemcpyDefault [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:965:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:994:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:1095:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:1232:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipMemcpyHostToDevice [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:1332:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/topo_expl.cpp:217:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rank [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:294:3: warning: Member variable 'sendChannel::send_sizes' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:294:3: warning: Member variable 'sendChannel::send_active_req' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:294:3: warning: Member variable 'sendChannel::send_bw_cumulative' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:294:3: warning: Member variable 'sendChannel::send_bw_count' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:294:3: warning: Member variable 'sendChannel::send_byte' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:294:3: warning: Member variable 'sendChannel::runSend' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:294:3: warning: Member variable 'sendChannel::args' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:456:3: warning: Member variable 'recvChannel::recv_sizes' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:456:3: warning: Member variable 'recvChannel::recv_active_req' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:456:3: warning: Member variable 'recvChannel::recv_bw_cumulative' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:456:3: warning: Member variable 'recvChannel::recv_bw_count' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:456:3: warning: Member variable 'recvChannel::recv_byte' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:456:3: warning: Member variable 'recvChannel::runRecv' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:456:3: warning: Member variable 'recvChannel::args' is not initialized in the constructor. [uninitMemberVar] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:300:4: style: The destructor '~sendChannel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:204:12: note: Virtual destructor in base class rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:300:4: note: Destructor in derived class rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:304:8: style: The function 'netProxy' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:210:16: note: Virtual function in base class rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:304:8: note: Function in derived class rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:352:8: style: The function 'launchKernel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:208:16: note: Virtual function in base class rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:352:8: note: Function in derived class rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:365:8: style: The function 'printProgress' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:209:16: note: Virtual function in base class rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:365:8: note: Function in derived class rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:462:4: style: The destructor '~recvChannel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:204:12: note: Virtual destructor in base class rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:462:4: note: Destructor in derived class rccl-rocm-5.4.3/tools/topo_expl/topo_expl.cpp:180:14: style: The scope of the variable 'node' can be reduced. [variableScope] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:466:8: style: The function 'netProxy' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:210:16: note: Virtual function in base class rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:466:8: note: Function in derived class rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:512:8: style: The function 'launchKernel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:208:16: note: Virtual function in base class rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:512:8: note: Function in derived class rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:525:8: style: The function 'printProgress' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:209:16: note: Virtual function in base class rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:525:8: note: Function in derived class rccl-rocm-5.4.3/tools/topo_expl/topo_expl.cpp:170:9: style: Variable 'mi' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:366:20: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:366:20: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:366:20: warning: %ld in format string (no. 5) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:366:20: portability: %ld in format string (no. 9) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:526:20: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:526:20: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:526:20: warning: %ld in format string (no. 5) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:526:20: portability: %ld in format string (no. 9) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:526:20: warning: %ld in format string (no. 10) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:572:5: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:256:29: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:408:29: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:419:41: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:361:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:521:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:604:14: style: Local variable 'port' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:542:7: note: Shadowed declaration rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:604:14: note: Shadow variable rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:98:54: style: Parameter 'v' can be declared as reference to const [constParameterReference] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:153:14: style: Variable 'd' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:235:30: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:557:9: style: Variable 'gpu' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:563:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:569:9: style: Variable 'iters' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:575:9: style: Variable 'gdr_read' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:580:9: style: Variable 'gdr_write' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:585:9: style: Variable 'node' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:603:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:153:16: style: Variable 'd' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:607:14: style: Variable 'isSource' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:610:14: style: Variable 'isSource' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:539:20: style: Unused variable: comm [unusedVariable] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:542:7: style: Unused variable: port [unusedVariable] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:614:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:619:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:626:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:634:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:640:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:650:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] rccl-rocm-5.4.3/tools/ib-test/ib_test.cpp:651:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] rccl-rocm-5.4.3/tools/rccl-prim-test/copy_kernel.h:109:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNROLL [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/rccl-prim-test/copy_kernel.h:157:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNROLL [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/rccl-prim-test/copy_kernel.h:220:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MINSRCS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:89:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:105:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:205:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:228:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:263:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:344:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:427:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hipSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:55:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:75:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:84:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_LOG_INFO [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:100:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_LOG_TRACE [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:127:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:138:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:192:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:196:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_INIT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:247:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_INIT [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:267:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclConnect [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:274:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRANSPORT_P2P [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:363:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable collNetSend [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:429:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_MAX_LOCAL_RANKS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:450:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCL_MAX_CONNS [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:488:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hostHash [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:687:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ringRecv [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:1078:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:1082:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:1086:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncclSuccess [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:217:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable peers [valueFlowBailoutIncompleteVar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:266:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:421:1: style: Label 'cleanup' is not used. [unusedLabel] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:896:1: style: Label 'collnet_cleanup' is not used. [unusedLabel] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:1069:1: style: Label 'affinity_restore' is not used. [unusedLabel] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:998:9: style: Local variable 'nranks' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:676:7: note: Shadowed declaration rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:998:9: note: Shadow variable rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:195:99: style: Parameter 'ringRanks' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:246:92: style: Parameter 'peerRecv' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:246:118: style: Parameter 'peerSend' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:248:23: style: Variable 'channel' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:266:14: style: Variable 'd' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:346:110: style: Parameter 'channel' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:370:27: style: Variable 'root' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:409:32: style: Variable 'devRoot' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:410:26: style: Variable 'devConnInfo' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:427:57: style: Parameter 'comm' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:445:56: style: Parameter 'comm' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:448:25: style: Variable 'channel' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:804:22: style: Variable 'tree' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:1081:80: style: Parameter 'deviceIndex' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:1085:78: style: Parameter 'rsmi_type' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:1085:94: style: Parameter 'hops' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:1085:105: style: Parameter 'bw' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:1089:37: style: Parameter 'comm' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:365:38: error: Uninitialized variable: sendrecvExchange.collNetRank [uninitvar] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:365:21: error: Uninitialized struct member: sendrecvExchange.collNetRank [uninitStructMember] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:281:22: style: Variable 'bootstrapTag' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:308:19: style: Variable 'sendData' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:309:19: style: Variable 'recvData' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:410:38: style: Variable 'devConnInfo' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:415:34: style: Variable 'sendrecvExchange.collNetRank' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/topo_expl/utils.cpp:410:26: style: Variable 'devConnInfo' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:299:24: warning: Either the condition 'ringBase[i]<='9'' is redundant or the array 'id[8]' is accessed at index 9, which is out of bounds. [arrayIndexOutOfBoundsCond] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:298:43: note: Assuming that condition 'ringBase[i]<='9'' is not redundant rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:299:24: note: Array index out of bounds rccl-rocm-5.4.3/tools/TransferBench/EnvVars.hpp:216:14: style: Condition 'outputToCsv' is always false [knownConditionTrueFalse] rccl-rocm-5.4.3/tools/TransferBench/EnvVars.hpp:198:9: note: Assuming that condition '!outputToCsv' is not redundant rccl-rocm-5.4.3/tools/TransferBench/EnvVars.hpp:216:14: note: Condition 'outputToCsv' is always false rccl-rocm-5.4.3/tools/TransferBench/EnvVars.hpp:139:7: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:227:28: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:332:13: portability: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:351:13: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:351:13: portability: %lu in format string (no. 9) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:380:13: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:380:13: portability: %lu in format string (no. 17) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:403:9: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:403:9: portability: %lu in format string (no. 7) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:470:3: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:565:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:594:7: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:865:5: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:933:47: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:934:47: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:935:47: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:936:47: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:937:47: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:1106:5: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:1159:11: portability: %lu in format string (no. 8) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] rccl-rocm-5.4.3/tools/TransferBench/EnvVars.hpp:224:58: warning: Either the condition 'env' is redundant or there is possible null pointer dereference: env. [nullPointerRedundantCheck] rccl-rocm-5.4.3/tools/TransferBench/EnvVars.hpp:225:17: note: Assuming that condition 'env' is not redundant rccl-rocm-5.4.3/tools/TransferBench/EnvVars.hpp:224:58: note: Null pointer dereference rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:348:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:397:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:734:5: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] rccl-rocm-5.4.3/tools/TransferBench/GetClosestNumaNode.hpp:110:11: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:188:84: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:189:84: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:201:24: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:784:7: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:788:7: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:806:5: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:811:5: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:843:16: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:875:22: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:911:25: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:1218:55: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:1220:55: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:1231:22: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/TransferBench/EnvVars.hpp:130:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/tools/TransferBench/EnvVars.hpp:130:32: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:414:19: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:439:35: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:440:32: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:442:11: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:446:11: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:503:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:504:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:519:25: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:520:5: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:522:5: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:524:7: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:526:7: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:527:7: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:722:5: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:724:7: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:725:7: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:726:7: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:728:5: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:736:3: style: C-style pointer casting [cstyleCast] rccl-rocm-5.4.3/tools/rccl-prim-test/copy_kernel.h:161:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/tools/rccl-prim-test/copy_kernel.h:163:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:409:15: style: The scope of the variable 'ops' can be reduced. [variableScope] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:433:22: style: The scope of the variable 'ring_4p3l' can be reduced. [variableScope] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:434:22: style: The scope of the variable 'ring_8p1h' can be reduced. [variableScope] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:435:22: style: The scope of the variable 'ring_16p1h' can be reduced. [variableScope] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:580:12: style: Local variable 'op' shadows outer variable [shadowVariable] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:411:7: note: Shadowed declaration rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:580:12: note: Shadow variable rccl-rocm-5.4.3/tools/rccl-prim-test/copy_kernel.h:87:42: style: Parameter 'v' can be declared as reference to const [constParameterReference] rccl-rocm-5.4.3/tools/rccl-prim-test/copy_kernel.h:95:54: style: Parameter 'v' can be declared as reference to const [constParameterReference] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:308:36: style: Parameter 'ring' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:315:35: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:335:29: style: Parameter 'ring' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:382:9: style: Variable 'wg' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:585:45: style:inconclusive: Function 'PopulateTestSizes' argument 3 names different: declaration 'valuesofN' definition 'valuesOfN'. [funcArgNamesDifferent] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.hpp:138:45: note: Function 'PopulateTestSizes' argument 3 names different: declaration 'valuesofN' definition 'valuesOfN'. rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:585:45: note: Function 'PopulateTestSizes' argument 3 names different: declaration 'valuesofN' definition 'valuesOfN'. rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:832:23: style:inconclusive: Function 'CheckPages' argument 1 names different: declaration 'byteArray' definition 'array'. [funcArgNamesDifferent] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.hpp:149:23: note: Function 'CheckPages' argument 1 names different: declaration 'byteArray' definition 'array'. rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:832:23: note: Function 'CheckPages' argument 1 names different: declaration 'byteArray' definition 'array'. rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:388:9: style: Variable 'it' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:394:9: style: Variable 'nb' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:401:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:406:9: style: Variable 'r' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:410:9: style: Variable 'prim' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:576:20: style: Variable 'launchParamsList' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/rccl-prim-test/copy_kernel.h:95:42: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] rccl-rocm-5.4.3/tools/TransferBench/EnvVars.hpp:240:42: performance: Function parameter 'varname' should be passed by const reference. [passedByValue] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:334:23: performance: Range variable 'transfer' should be declared as const reference. [iterateByValue] rccl-rocm-5.4.3/tools/TransferBench/GetClosestNumaNode.hpp:136:14: style: Variable 'agentData' can be declared as reference to const [constVariableReference] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:320:20: style: Variable 'exeInfoPair' can be declared as reference to const [constVariableReference] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:362:19: style: Variable 'transfer' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/TransferBench/EnvVars.hpp:79:11: style: Variable 'pattern' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/TransferBench/EnvVars.hpp:223:15: style: Variable 'env' can be declared as pointer to const [constVariablePointer] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:69:10: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:331:12: warning: Uninitialized variable: best [uninitvar] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:343:18: style: Unused variable: dev [unusedVariable] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:576:36: style: Variable 'launchParamsList' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/rccl-prim-test/rccl_prim_test.cpp:577:13: style: Variable 'launchParamsList' is allocated memory that is never used. [unusedAllocatedMemory] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:416:35: style: Variable 'exeMemType' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:427:32: style: Variable 'exeIndex' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:427:21: style: Variable 'exeIndex' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:458:27: style: Variable 'numCpuDevices' is assigned a value that is never used. [unreadVariable] rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:458:13: style: Variable 'numCpuDevices' is assigned a value that is never used. [unreadVariable] diff: head rccl-rocm-5.4.3/tools/TransferBench/TransferBench.cpp:416:35: style: Variable 'exeMemType' is assigned a value that is never used. [unreadVariable] DONE