Difference between kernels construct and parallel construct
问题 I study a lot of articles and the manual of OpenACC but still i don't understand the main difference of these two constructs. 回答1: kernels directive is the more general case and probably one that you might think of, if you've written GPU (e.g. CUDA) kernels before. kernels simply directs the compiler to work on a piece of code, and produce an arbitrary number of "kernels", of arbitrary "dimensions", to be executed in sequence, to parallelize/offload a particular section of code to the