I have an error like this when I compile the RISCV backend in tvm


#1

I have an error like this when I compile the RISCV backend in tvm.

Segmentation fault(core dumped)

The code I wrote is as follows

n=16
target=‘llvm -target=riscv64’
A = tvm.placeholder((n, ), name=‘A’)
B = tvm.placeholder((n, ), name=‘B’)
C = tvm.compute((n, ),lambda i: A[i]+B[i], name=‘C’)
s=tvm.create_schedule(C.op)
func=tvm.build(s,[A,B],target=target,name=‘si’)

How should I solve this problem?I didn’t add any features to tvm, is it that I should do something more?