Home
last modified time | relevance | path

Searched refs:clover (Results 1 – 25 of 44) sorted by relevance

12

/external/mesa3d/src/gallium/state_trackers/clover/core/
Dprogram.hpp32 namespace clover { namespace
36 struct _cl_program : public clover::ref_counter {
38 _cl_program(clover::context &ctx,
40 _cl_program(clover::context &ctx,
41 const std::vector<clover::device *> &devs,
42 const std::vector<clover::module> &binaries);
44 void build(const std::vector<clover::device *> &devs);
47 const std::map<clover::device *, clover::module> &binaries() const;
49 cl_build_status build_status(clover::device *dev) const;
50 std::string build_opts(clover::device *dev) const;
[all …]
Dmemory.hpp33 namespace clover { namespace
40 struct _cl_mem : public clover::ref_counter {
42 _cl_mem(clover::context &ctx, cl_mem_flags flags,
50 virtual clover::resource &resource(cl_command_queue q) = 0;
57 clover::context &ctx;
69 namespace clover { namespace
72 buffer(clover::context &ctx, cl_mem_flags flags,
81 root_buffer(clover::context &ctx, cl_mem_flags flags,
84 virtual clover::resource &resource(cl_command_queue q);
87 std::map<clover::device *,
[all …]
Devent.hpp31 namespace clover { namespace
52 struct _cl_event : public clover::ref_counter {
54 typedef std::function<void (clover::event &)> action;
56 _cl_event(clover::context &ctx, std::vector<clover::event *> deps,
69 clover::context &ctx;
72 void chain(clover::event *ev);
75 std::vector<clover::ref_ptr<clover::event>> deps;
81 std::vector<clover::ref_ptr<clover::event>> __chain;
84 namespace clover { namespace
99 hard_event(clover::command_queue &q, cl_command_type command,
[all …]
Dqueue.hpp30 namespace clover { namespace
37 struct _cl_command_queue : public clover::ref_counter {
39 _cl_command_queue(clover::context &ctx, clover::device &dev,
50 clover::context &ctx;
51 clover::device &dev;
53 friend class clover::resource;
54 friend class clover::root_resource;
55 friend class clover::mapping;
56 friend class clover::hard_event;
63 void sequence(clover::hard_event *ev);
[all …]
Dresource.hpp33 namespace clover { namespace
42 typedef clover::point<size_t, 3> point;
55 clover::device &dev;
56 clover::memory_obj &obj;
63 resource(clover::device &dev, clover::memory_obj &obj);
65 pipe_sampler_view *bind_sampler_view(clover::command_queue &q);
66 void unbind_sampler_view(clover::command_queue &q,
69 pipe_surface *bind_surface(clover::command_queue &q, bool rw);
70 void unbind_surface(clover::command_queue &q, pipe_surface *st);
85 root_resource(clover::device &dev, clover::memory_obj &obj,
[all …]
Dprogram.cpp26 using namespace clover;
28 _cl_program::_cl_program(clover::context &ctx, in _cl_program()
33 _cl_program::_cl_program(clover::context &ctx, in _cl_program()
34 const std::vector<clover::device *> &devs, in _cl_program()
35 const std::vector<clover::module> &binaries) : in _cl_program()
37 for_each([&](clover::device *dev, const clover::module &bin) { in _cl_program()
44 _cl_program::build(const std::vector<clover::device *> &devs) { in build()
68 const std::map<clover::device *, clover::module> &
74 _cl_program::build_status(clover::device *dev) const { in build_status()
79 _cl_program::build_opts(clover::device *dev) const { in build_opts()
[all …]
Dkernel.hpp34 namespace clover { namespace
39 struct _cl_kernel : public clover::ref_counter {
46 exec_context(clover::kernel &kern);
49 void *bind(clover::command_queue *q);
52 clover::kernel &kern;
53 clover::command_queue *q;
97 _cl_kernel(clover::program &prog,
99 const std::vector<clover::module::argument> &args);
101 void launch(clover::command_queue &q,
113 clover::program &prog;
[all …]
Dmodule.hpp28 namespace clover { namespace
48 const clover::compat::vector<char> &data) : in section()
55 clover::compat::vector<char> data;
79 symbol(const clover::compat::vector<char> &name, resource_id section, in symbol()
80 size_t offset, const clover::compat::vector<argument> &args) : in symbol()
84 clover::compat::vector<char> name;
87 clover::compat::vector<argument> args;
101 clover::compat::vector<symbol> syms;
102 clover::compat::vector<section> secs;
Dresource.cpp28 using namespace clover;
48 resource::resource(clover::device &dev, clover::memory_obj &obj) : in resource()
85 resource::bind_sampler_view(clover::command_queue &q) { in bind_sampler_view()
93 resource::unbind_sampler_view(clover::command_queue &q, in unbind_sampler_view()
99 resource::bind_surface(clover::command_queue &q, bool rw) { in bind_surface()
113 resource::unbind_surface(clover::command_queue &q, pipe_surface *st) { in unbind_surface()
117 root_resource::root_resource(clover::device &dev, clover::memory_obj &obj, in root_resource()
118 clover::command_queue &q, in root_resource()
155 root_resource::root_resource(clover::device &dev, clover::memory_obj &obj, in root_resource()
156 clover::root_resource &r) : in root_resource()
[all …]
Dsampler.hpp29 namespace clover { namespace
33 struct _cl_sampler : public clover::ref_counter {
35 _cl_sampler(clover::context &ctx, bool norm_mode,
42 clover::context &ctx;
47 void *bind(clover::command_queue &q);
48 void unbind(clover::command_queue &q, void *st);
Dmemory.cpp26 using namespace clover;
28 _cl_mem::_cl_mem(clover::context &ctx, cl_mem_flags flags, in _cl_mem()
61 buffer::buffer(clover::context &ctx, cl_mem_flags flags, in buffer()
71 root_buffer::root_buffer(clover::context &ctx, cl_mem_flags flags, in root_buffer()
76 clover::resource &
92 sub_buffer::sub_buffer(clover::root_buffer &parent, cl_mem_flags flags, in sub_buffer()
99 clover::resource &
117 image::image(clover::context &ctx, cl_mem_flags flags, in image()
127 clover::resource &
173 image2d::image2d(clover::context &ctx, cl_mem_flags flags, in image2d()
[all …]
Dcontext.hpp29 namespace clover { namespace
33 struct _cl_context : public clover::ref_counter {
36 const std::vector<clover::device *> &devs);
39 bool has_device(clover::device *dev) const;
45 const std::vector<clover::device *> devs;
Devent.cpp26 using namespace clover;
28 _cl_event::_cl_event(clover::context &ctx, in _cl_event()
29 std::vector<clover::event *> deps, in _cl_event()
69 _cl_event::chain(clover::event *ev) { in chain()
77 hard_event::hard_event(clover::command_queue &q, cl_command_type command, in hard_event()
78 std::vector<clover::event *> deps, action action) : in hard_event()
135 soft_event::soft_event(clover::context &ctx, in soft_event()
136 std::vector<clover::event *> deps, in soft_event()
Ddevice.hpp33 namespace clover { namespace
67 friend class clover::root_resource;
68 friend class clover::hard_event;
70 clover::supported_formats(cl_context, cl_mem_object_type);
77 namespace clover { namespace
Dsampler.cpp26 using namespace clover;
28 _cl_sampler::_cl_sampler(clover::context &ctx, bool norm_mode, in _cl_sampler()
51 _cl_sampler::bind(clover::command_queue &q) { in bind()
71 _cl_sampler::unbind(clover::command_queue &q, void *st) { in unbind()
Dkernel.cpp27 using namespace clover;
29 _cl_kernel::_cl_kernel(clover::program &prog, in _cl_kernel()
31 const std::vector<clover::module::argument> &args) : in _cl_kernel()
57 pad_vector(clover::command_queue &q, const V &v, T x) { in pad_vector()
64 _cl_kernel::launch(clover::command_queue &q, in launch()
127 const clover::module &
128 _cl_kernel::module(const clover::command_queue &q) const { in module()
133 _cl_kernel::exec_context::exec_context(clover::kernel &kern) : in exec_context()
143 _cl_kernel::exec_context::bind(clover::command_queue *__q) { in bind()
224 obj = dynamic_cast<clover::buffer *>(*(cl_mem *)value); in set()
[all …]
Dcontext.cpp27 using namespace clover;
35 _cl_context::has_device(clover::device *dev) const { in has_device()
Dqueue.cpp30 using namespace clover;
64 _cl_command_queue::sequence(clover::hard_event *ev) { in sequence()
Dmodule.cpp28 using namespace clover;
138 namespace clover { namespace
Dcompiler.hpp30 namespace clover { namespace
Dformat.hpp32 namespace clover { namespace
/external/mesa3d/src/gallium/state_trackers/clover/api/
Dutil.hpp34 namespace clover { namespace
118 throw clover::error(CL_INVALID_PROPERTY); in property_map()
147 ret_error(cl_int *p, const clover::error &e) { in ret_error()
Dplatform.cpp25 using namespace clover;
/external/mesa3d/src/gallium/state_trackers/clover/tgsi/
Dcompiler.cpp31 using namespace clover;
91 clover::compile_program_tgsi(const compat::string &source) {
/external/mesa3d/src/gallium/targets/opencl/
DMakefile.am10 $(top_builddir)/src/gallium/state_trackers/clover/libclover.la \

12