-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import Vulkan Memory On Windows #6282
Comments
Usually you need to use a combined |
@k-ye Thank you k-ye! I have tried |
There are many issues in your code. It doesn't compile (what is
|
@PENGUINLIONG Thank you,PENGUINLIONG! The demo above got correct result after I used latest HEAD of Taichi master(commit id:20b67ffd758edafcde2338ee6988fbbddab1d17b). I roll back git version step by step and found this commit(commit id: 8936fa6) solved the problem. |
hi , everyone!
I am verifying ti_import_vulkan_memory and taichi aot feature on windows. But the output results(vkmemoryOut) are all zero.
I have made some attempts:use VK_MEMORY_PROPERTY_HOST_COHERENT_BIT or VK_MEMORY_PROPERTY_HOST_CACHED_BIT instead of VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT to find the suitable memoryTypeIndex. But the output results are also all zero.
In addition, when I remove vkBindBufferMemory for vkmemoryIn and vkmemoryOut, the demo runs fine without throwing an exception although the output results are also all zero. It seems like that taichi vulkan kernel doesn't use the externally allocated VkBuffer (bufferIn and bufferOut).
So is there any error in the demo? Looking forward to your help!Thanks!
Windows OS:win10
Vulkan Device:NVIDIA GeForce RTX 3070
Visual Studio : Visual Studio 2019
C++ Demo code:
python aot demo:
The text was updated successfully, but these errors were encountered: