Open fangwei123456 opened 1 year ago
I guess you cannot because tensor object does not allow inplace assignment .
But actually I have experiences where inplace assignment is allowed in Graphcore IPU chip. So this is just software constraints I think.
Hi, I want to implement a conv1d in triton. Considering that some data of the input will be re-used, e.g.,
y[0] = conv(w, x[0:2])
andy[1] = conv(w, x[1:3]
, then I try to update the data in SRAM by index:But then I will get an AssertionError:
Here are the complete codes: