Wayverb
Main Page
Related Pages
Classes
Files
File List
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
11
class
boundary_coefficient_program
final {
12
public
:
13
boundary_coefficient_program
(
const
core::compute_context
& cc);
14
15
auto
get_boundary_coefficient_finder_1d_kernel
()
const
{
16
return
wrapper_.get_kernel<cl::Buffer,
17
mesh_descriptor
,
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
28
auto
get_boundary_coefficient_finder_2d_kernel
()
const
{
29
return
wrapper_.get_kernel<cl::Buffer,
30
mesh_descriptor
,
31
cl::Buffer,
32
cl::Buffer
33
>(
"boundary_coefficient_finder_2d"
);
34
}
35
36
auto
get_boundary_coefficient_finder_3d_kernel
()
const
{
37
return
wrapper_.get_kernel<cl::Buffer,
38
mesh_descriptor
,
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
wayverb::core::aabb
Definition:
voxel_structs.h:9
wayverb::waveguide::boundary_coefficient_program
Definition:
boundary_coefficient_program.h:11
wayverb::waveguide::boundary_coefficient_program::get_boundary_coefficient_finder_1d_kernel
auto get_boundary_coefficient_finder_1d_kernel() const
Definition:
boundary_coefficient_program.h:15
wayverb::core::program_wrapper
Definition:
program_wrapper.h:8
wayverb::waveguide::boundary_coefficient_program::get_boundary_coefficient_finder_2d_kernel
auto get_boundary_coefficient_finder_2d_kernel() const
Definition:
boundary_coefficient_program.h:28
wayverb
Definition:
capsule_base.h:9
wayverb::core::compute_context
invariant: device is a valid device for the context
Definition:
common.h:13
wayverb::waveguide::boundary_coefficient_program::get_boundary_coefficient_finder_3d_kernel
auto get_boundary_coefficient_finder_3d_kernel() const
Definition:
boundary_coefficient_program.h:36
wayverb::waveguide::mesh_descriptor
Definition:
mesh_descriptor.h:14
src
waveguide
include
waveguide
boundary_coefficient_program.h
Generated by
1.8.11