Wayverb
boundary_coefficient_program.h
1 #pragma once
2 
3 #include "waveguide/mesh_descriptor.h"
4 
5 #include "core/cl/voxel_structs.h"
6 #include "core/program_wrapper.h"
7 
8 namespace wayverb {
9 namespace waveguide {
10 
12 public:
14 
16  return wrapper_.get_kernel<cl::Buffer,
18  cl::Buffer,
19  cl::Buffer,
20  core::aabb,
21  cl_uint,
22  cl::Buffer,
23  cl_uint,
24  cl::Buffer
25  >("boundary_coefficient_finder_1d");
26  }
27 
29  return wrapper_.get_kernel<cl::Buffer,
31  cl::Buffer,
32  cl::Buffer
33  >("boundary_coefficient_finder_2d");
34  }
35 
37  return wrapper_.get_kernel<cl::Buffer,
39  cl::Buffer,
40  cl::Buffer
41  >("boundary_coefficient_finder_3d");
42  }
43 
44 private:
45  core::program_wrapper wrapper_;
46 };
47 
48 } // namespace waveguide
49 } // namespace wayverb
Definition: voxel_structs.h:9
Definition: boundary_coefficient_program.h:11
auto get_boundary_coefficient_finder_1d_kernel() const
Definition: boundary_coefficient_program.h:15
Definition: program_wrapper.h:8
auto get_boundary_coefficient_finder_2d_kernel() const
Definition: boundary_coefficient_program.h:28
Definition: capsule_base.h:9
invariant: device is a valid device for the context
Definition: common.h:13
auto get_boundary_coefficient_finder_3d_kernel() const
Definition: boundary_coefficient_program.h:36
Definition: mesh_descriptor.h:14