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