zhangxiao-stack commented on PR #14901: URL: https://github.com/apache/tvm/pull/14901#issuecomment-1605897982
> @LeiWang1999 Thank you for the test case. I can reproduce the shmem error, though it looks like it predates the LLVM changes in this PR. Unfortunately, that means there isn't a clear before/after that could be compared and fixed. Do you know if the shared memory on rocm has worked in the past? > > FYI, I also condensed the test case down the the following test case, which reproduces the same error: > > ```python > import tvm > from tvm.script import tir as T > > @T.prim_func > def func(): > A = T.alloc_buffer(1, scope="shared") > > for i in T.thread_binding(1, thread="threadIdx.x"): > A[0] = 0.0 > > tvm.build(func, target="rocm") > ``` I am facing the same issue on the ROCm platform. Is there a solution yet? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
