mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-24 11:02:22 +08:00
Merge be8f98a743
into 11de19f00c
This commit is contained in:
commit
0917210a8f
|
@ -166,7 +166,7 @@ void runTest(int argc, char **argv) {
|
||||||
|
|
||||||
if (1) {
|
if (1) {
|
||||||
// This is the new CUDA 4.0 API for Kernel Parameter passing and Kernel
|
// This is the new CUDA 4.0 API for Kernel Parameter passing and Kernel
|
||||||
// Launching (simplier method)
|
// Launching (simpler method)
|
||||||
size_t Matrix_Width_A = (size_t)WA;
|
size_t Matrix_Width_A = (size_t)WA;
|
||||||
size_t Matrix_Width_B = (size_t)WB;
|
size_t Matrix_Width_B = (size_t)WB;
|
||||||
void *args[5] = {&d_C, &d_A, &d_B, &Matrix_Width_A, &Matrix_Width_B};
|
void *args[5] = {&d_C, &d_A, &d_B, &Matrix_Width_A, &Matrix_Width_B};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user