mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2024-11-24 16:49:18 +08:00
fix "gridy" comandline argument for initMC
This commit is contained in:
parent
9c688d7ff7
commit
22424227e7
|
@ -416,8 +416,8 @@ void initMC(int argc, char **argv) {
|
||||||
gridSizeLog2.x = n;
|
gridSizeLog2.x = n;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (checkCmdLineFlag(argc, (const char **)argv, "gridx")) {
|
if (checkCmdLineFlag(argc, (const char **)argv, "gridy")) {
|
||||||
n = getCmdLineArgumentInt(argc, (const char **)argv, "gridx");
|
n = getCmdLineArgumentInt(argc, (const char **)argv, "gridy");
|
||||||
gridSizeLog2.y = n;
|
gridSizeLog2.y = n;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user