taichi-dev / taichi-aot-demo

A demo illustrating how to use Taichi as an AOT shader compiler
Apache License 2.0
71 stars 17 forks source link

"0_tutorial_kernel" on windows : k_init_.push_args_(x_) compile error #86

Open DIOYF opened 2 years ago

DIOYF commented 2 years ago

C2039: pusharg is not a member of ti::Kernel. And I can not find pusharg() of ti::Kernel in taichi\c_api\include\taichi\cpp\taichi.hpp file. (v1.2.2, v1.1.3)

PENGUINLIONG commented 2 years ago

cc @ailzhang

DacianShaw commented 2 years ago

cc @ailzhang

Hello, I want to check that TAICHI v1.2.2 supports other graphics api's for interop memory besides vulkan?

ailzhang commented 2 years ago

@DIOYF push_arg was added after v1.2.x release so please try using master branch for now.

@XiaoyuXiao1998 could you elaborate which graphics api are you referring to?

FYI C-API and its C++ wrapper is still in heavy development in master branch, it'll (likely) be released with taichi v1.4.