test_kc.hpp

来自「H.264完整的C语言代码和DCT的代码」· HPP 代码 · 共 16 行

HPP
16
字号
#ifndef _TEST_KC
#define _TEST_KC
// header files must be in this order
#include "idb_types.hpp"
#include "idb_deftypes.hpp"
// declare the kernel
kernel addAndSum(istream<int> a,
istream<int> b,
ostream<int> c,
uc<int>& uc_sum);
// these are required for each kernel
KERNELDECL(addAndSum);
#define addAndSum KERNELCALL(addAndSum)
// don’t forget this line at the end!
#include "idb_undeftypes.hpp"
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?