baldand / py-metal-compute

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

TypeError: 'module' object is not callable #33

Open ghost opened 1 year ago

ghost commented 1 year 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