CPU: map changes from developing branch in sgl-kernel (#6833)

Co-authored-by: mingfeima <mingfei.ma@intel.com>
This commit is contained in:
YanbingJiang
2025-06-10 16:08:15 +08:00
committed by GitHub
parent 81372f3bef
commit fcde67b016
20 changed files with 1321 additions and 321 deletions

View File

@@ -33,11 +33,11 @@ void initialize(int64_t size, int64_t rank) {
world_rank = rank;
is_initialized = true;
auto addr_string = std::getenv("MASTER_ADDR");
const char* addr_string = std::getenv("MASTER_ADDR");
if (addr_string == NULL) {
addr_string = "";
}
auto port_string = std::getenv("MASTER_PORT");
const char* port_string = std::getenv("MASTER_PORT");
if (port_string == NULL) {
port_string = "";
}