Skip to content

Commit 148e32e

Browse files
committed
[lang] Add language guide
Signed-off-by: Jay Gu <jagu@nvidia.com>
1 parent 3cb6f3b commit 148e32e

4 files changed

Lines changed: 942 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import cuda.lang as cl
2+
import torch
3+
4+
torch.cuda.init()
5+
stream = torch.cuda.current_stream()
6+
7+
{{body}}
8+
9+
torch.cuda.synchronize()

‎experimental/cuda-lang/docs/source/index.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ memory:
7171
:maxdepth: 2
7272
:hidden:
7373

74+
language
7475
data
7576
operations
7677
private

0 commit comments

Comments
 (0)