单源 C++ 编程模型?

Single source C++ programming model?

什么是单源 C++ 编程 model.I 最近了解到 SYCL,人们将其描述为与 OPENCL 相关的单源 C++ 编程模型。我非常感谢描述 SYCL 是什么的答案?它是如何工作的? 谢谢大家!

单一源代码编程意味着您可以将所有源代码保存在一个文件中,而不是使用 OpenCL,其中内核位于它们自己的单独文件中。

您可以在 link @Zinadarod 和 http://sycl.tech where there are videos and articles on SYCL. You can find an actual implementation of SYCL here, with that website also providing a beginners guide to SYCL 上找到有关 SYCL 的更多信息,以及有关如何使用 ComputeCpp(SYCL 的一种实现)构建软件的资源。