Skip to content

Commit 3ffa216

Browse files
committed
refactor: simplify imports by removing unused block_dim, block_idx, and UnsafePointer components.
1 parent 46dec2a commit 3ffa216

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

problems/p04/p04.mojo

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
from memory import UnsafePointer
2-
from gpu import thread_idx, block_dim, block_idx
1+
from gpu import thread_idx
32
from gpu.host import DeviceContext
43
from testing import assert_equal
54

problems/p04/p04_layout_tensor.mojo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from gpu import thread_idx, block_dim, block_idx
1+
from gpu import thread_idx
22
from gpu.host import DeviceContext
33
from layout import Layout, LayoutTensor
44
from testing import assert_equal

solutions/p04/p04.mojo

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
from memory import UnsafePointer
2-
from gpu import thread_idx, block_dim, block_idx
1+
from gpu import thread_idx
32
from gpu.host import DeviceContext
43
from testing import assert_equal
54

solutions/p04/p04_layout_tensor.mojo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from gpu import thread_idx, block_dim, block_idx
1+
from gpu import thread_idx
22
from gpu.host import DeviceContext
33
from layout import Layout, LayoutTensor
44
from testing import assert_equal

0 commit comments

Comments
 (0)