红色单子?我们给你做成绿色。 利润先提到你银行卡 — 我们事后再分。 不预付,不需账户权限。 🟢 WhatsApp:85254981192 ⚪ Telegram:@kkk437
在指定索引设置OpenCL函数的参数。
template<typename T> bool SetArgument( const int kernel_index, // 内核索引 const int arg_index, // 函数参数索引 T value // 源代码 );
参数
kernel_index
[in] 内核对象索引。
arg_index
[in] 函数参数索引。
value
[in] 函数参数值。
返回值
如果执行成功,返回true,否则 - false。