-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Description
Describe the bug
This simple example produces Received signal 11 (Segmentation fault)
To Reproduce
import taichi as ti ti.init(arch=ti.cpu, debug=True)
w = ti.Vector.field(3, dtype=float, shape = 20)
@ti.kernel
def test():
reset()
get_weight(1)
@ti.func
def get_weight(i):
print(w[0][i])
@ti.func
def reset():
w[0] = ti.Vector([1., 2., 3.])
test()
Log/Screenshots
Additional comments
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Untriaged