CINN icon indicating copy to clipboard operation
CINN copied to clipboard

Example of set string as input parameters

Open haozech opened this issue 3 years ago • 1 comments

此pr修改了cinn_call_cuda_kernel函数的参数,使其能够传入String字符串作为参数。 需注意,在llvm中注册变量的var_name必须以"__ptr"为结尾,以让CINN能够识别它将会被转化为int8*类型。

haozech avatar Jun 01 '22 10:06 haozech

Thanks for your contribution!

paddle-bot-old[bot] avatar Jun 01 '22 10:06 paddle-bot-old[bot]