Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bug] Fix macro error with ti_import_cpu_memory (#8401)
Issue: # ### Brief Summary <!-- copilot:summary --> ### <samp>🤖 Generated by Copilot at 2bf9cc6</samp> Simplify and test Vulkan image interop in C API. Remove redundant preprocessor directives and add a test case for `texture_interop_test` in `c_api_interop_test.cpp`. ### Walkthrough <!-- copilot:walkthrough --> ### <samp>🤖 Generated by Copilot at 2bf9cc6</samp> * Simplify the code and avoid unnecessary conditional compilation by removing the `#if TI_WITH_VULKAN` and `#endif` preprocessor directives from the `c_api_interop_test.cpp` file ([link](https://github.com/taichi-dev/taichi/pull/8401/files?diff=unified&w=0#diff-17d6273519c0a4b5bebb35039d02db6f5a7dcd0cbbaec26ebc38e004f234904fL63-R63)) * Test the Vulkan image interop functionality of the C API by adding the `texture_interop_test` function and the `AotTestVulkanTextureInterop` test case to the `c_api_interop_test.cpp` file ([link](https://github.com/taichi-dev/taichi/pull/8401/files?diff=unified&w=0#diff-17d6273519c0a4b5bebb35039d02db6f5a7dcd0cbbaec26ebc38e004f234904fR96-R120))
- Loading branch information