mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-14 00:45:16 +08:00
7 lines
110 B
Python
7 lines
110 B
Python
from tinygrad.device import Device
|
|
|
|
if Device.DEFAULT == "AMD":
|
|
WARP_THREADS = 64
|
|
else:
|
|
WARP_THREADS = 32
|