IQ.Pilot Release Commit @ bec7652
This commit is contained in:
9
artifacts/package_sources/tinygrad/test/external/external_benchmark_am.py
vendored
Normal file
9
artifacts/package_sources/tinygrad/test/external/external_benchmark_am.py
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
from tinygrad.helpers import Profiling
|
||||
from tinygrad import Device
|
||||
|
||||
if __name__ == "__main__":
|
||||
am = Device["AMD"]
|
||||
|
||||
# kfd is 0.55ms!
|
||||
with Profiling("allocation 127.7mb"):
|
||||
am.allocator.alloc(int(127.7*1024*1024))
|
||||
Reference in New Issue
Block a user