cuda: fix using single integer as grid size
parent
ae37cc730b
commit
fb619ec928
|
@ -61,11 +61,9 @@ PRIVATE>
|
||||||
[ dim-block>> block-dim function-block-shape* ]
|
[ dim-block>> block-dim function-block-shape* ]
|
||||||
[ shared-size>> function-shared-size* ]
|
[ shared-size>> function-shared-size* ]
|
||||||
[
|
[
|
||||||
dim-grid>> [
|
dim-grid>>
|
||||||
launch-function*
|
[ grid-dim launch-function-grid* ]
|
||||||
] [
|
[ launch-function* ] if*
|
||||||
grid-dim launch-function-grid*
|
|
||||||
] if-empty
|
|
||||||
]
|
]
|
||||||
} 2cleave ;
|
} 2cleave ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue