mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-04 07:21:33 +01:00
Merge pull request #287 from steffen-v/patch-1
fix "gridy" comandline argument for initMC
This commit is contained in:
commit
25400b6b3c
@ -416,8 +416,8 @@ void initMC(int argc, char **argv) {
|
||||
gridSizeLog2.x = n;
|
||||
}
|
||||
|
||||
if (checkCmdLineFlag(argc, (const char **)argv, "gridx")) {
|
||||
n = getCmdLineArgumentInt(argc, (const char **)argv, "gridx");
|
||||
if (checkCmdLineFlag(argc, (const char **)argv, "gridy")) {
|
||||
n = getCmdLineArgumentInt(argc, (const char **)argv, "gridy");
|
||||
gridSizeLog2.y = n;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user