i use the C++ API to write a test programm. there are two files : test.br and test_cpp.cpp, and the test.br contain only kernel. what is the right compile order?
first, i use "brcc test.br" to get test.cpp, test.h and test_gpu.h.
what is the next step?
Compile the C++ files and link them together. Also link with brook library.