mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-10-25 22:28:17 +08:00
Update code format
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user