[vulkan] Support print() for Vulkan backend #2713
Labels
discussion
Welcome discussion!
feature request
Suggest an idea on this project
vulkan
Vulkan backend
welcome contribution
Concisely describe the proposed feature
Currently, the Vulkan backend does not support the print function yet.
print()
will help users debug their codes more easily.Describe the solution you'd like (if any)
Implementing print is adding an IR visitor for the
PrintStmt
statement, and you also need to create a buffer to store print messages and communicate between the host and the device. The OpenGL backend gives an excellent example to follow with. : )The text was updated successfully, but these errors were encountered: