MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / hello_world_kernel

Function hello_world_kernel

examples/cutedsl/default.py:6–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5@cute.kernel
6def hello_world_kernel():
7 tidx, _, _ = cute.arch.thread_idx()
8 if tidx == 0:
9 cute.printf("Hello world from CuTe DSL")
10
11
12@cute.jit

Callers 1

hello_worldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected