We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a66efd commit 92bdfcaCopy full SHA for 92bdfca
_gsocblogs/2024/blog_CUDA_kernels_autodiff.md
@@ -404,15 +404,15 @@ int main() {
404
const size_type D1 = 2, D2 = 3, D3 = 4, D4 = 3, D5 = 2;
405
406
float A[D1][D2][D3] = {
407
- {{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}},
408
- {{13, 14, 15, 16}, {17, 18, 19, 20}, {21, 22, 23, 24}}
+ { {1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12} },
+ { {13, 14, 15, 16}, {17, 18, 19, 20}, {21, 22, 23, 24} }
409
};
410
411
float B[D3][D4][D5] = {
412
- {{1, 2}, {3, 4}, {5, 6}},
413
- {{7, 8}, {9, 10}, {11, 12}},
414
- {{13, 14}, {15, 16}, {17, 18}},
415
- {{19, 20}, {21, 22}, {23, 24}}
+ { {1, 2}, {3, 4}, {5, 6} },
+ { {7, 8}, {9, 10}, {11, 12} },
+ { {13, 14}, {15, 16}, {17, 18} },
+ { {19, 20}, {21, 22}, {23, 24} }
416
417
418
float C[D1][D2][D4][D5] = {0}; // Result tensor
0 commit comments