3 #include "core/cl/common.h" 7 namespace preprocessor {
17 bool operator()(cl::CommandQueue& queue, cl::Buffer& buffer,
size_t) {
21 const auto current_pressure =
22 core::read_value<cl_float>(queue, buffer, node_);
23 core::write_value(queue, buffer, node_, current_pressure + *begin_++);
33 template <
typename It>
34 auto make_soft_source(
size_t node, It begin, It end) {
Definition: soft_source.h:10
Definition: capsule_base.h:9