Update code format

This commit is contained in:
shawnz
2025-04-03 11:23:26 +08:00
parent 718fe6486d
commit b013387a39
11 changed files with 31 additions and 11 deletions

View File

@@ -104,7 +104,7 @@ static void childProcess(int id)
std::vector<void *> ptrs;
pid_t pid;
char pidString[20] = {0};
char lshmName[40] = {0};
char lshmName[40] = {0};
std::vector<char> verification_buffer(DATA_SIZE);
@@ -257,7 +257,7 @@ static void parentProcess(char *app)
cudaMemAllocationHandleType handleType = cudaMemHandleTypeNone;
pid_t pid;
char pidString[20] = {0};
char lshmName[40] = {0};
char lshmName[40] = {0};
pid = getpid();
snprintf(pidString, sizeof(pidString), "%d", pid);