baldand / py-metal-compute

A python library to run metal compute kernels on macOS
MIT License
66 stars 11 forks source link

TypeError: 'module' object is not callable #33

Open duckheada opened 9 months ago

duckheada commented 9 months ago

TypeError Traceback (most recent call last) Cell In[17], line 4 1 from metalize import metalize 2 import numpy as np ----> 4 @metalize # 'add' will run on GPU 5 def add(a, b): 6 return a + b 8 count = 100000000

TypeError: 'module' object is not callable