Home
last modified time | relevance | path

Searched defs:sampler (Results 1 – 25 of 726) sorted by relevance

12345678910>>...30

/third_party/abseil-cpp/absl/base/internal/
Dperiodic_sampler_benchmark.cc24 void BM_Sample(Sampler* sampler, benchmark::State& state) { in BM_Sample()
32 void BM_SampleMinunumInlined(Sampler* sampler, benchmark::State& state) { in BM_SampleMinunumInlined()
43 PeriodicSampler<Tag, 10> sampler; in BM_PeriodicSampler_TinySample() local
50 PeriodicSampler<Tag, 1024> sampler; in BM_PeriodicSampler_ShortSample() local
57 PeriodicSampler<Tag, 1024 * 1024> sampler; in BM_PeriodicSampler_LongSample() local
64 PeriodicSampler<Tag, 1024 * 1024> sampler; in BM_PeriodicSampler_LongSampleMinunumInlined() local
71 PeriodicSampler<Tag, 0> sampler; in BM_PeriodicSampler_Disabled() local
Dperiodic_sampler_test.cc42 StrictMock<MockPeriodicSampler> sampler; in TEST() local
63 StrictMock<MockPeriodicSampler> sampler; in TEST() local
81 StrictMock<MockPeriodicSampler> sampler; in TEST() local
91 StrictMock<MockPeriodicSampler> sampler; in TEST() local
101 StrictMock<MockPeriodicSampler> sampler; in TEST() local
115 StrictMock<MockPeriodicSampler> sampler; in TEST() local
135 ABSL_CONST_INIT static PeriodicSampler<Tag> sampler; in TEST() local
141 PeriodicSampler<Tag> sampler; in TEST() local
147 PeriodicSampler<Tag, 100> sampler; in TEST() local
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dperiodic_sampler_benchmark.cc24 void BM_Sample(Sampler* sampler, benchmark::State& state) { in BM_Sample()
32 void BM_SampleMinunumInlined(Sampler* sampler, benchmark::State& state) { in BM_SampleMinunumInlined()
43 PeriodicSampler<Tag, 10> sampler; in BM_PeriodicSampler_TinySample() local
50 PeriodicSampler<Tag, 1024> sampler; in BM_PeriodicSampler_ShortSample() local
57 PeriodicSampler<Tag, 1024 * 1024> sampler; in BM_PeriodicSampler_LongSample() local
64 PeriodicSampler<Tag, 1024 * 1024> sampler; in BM_PeriodicSampler_LongSampleMinunumInlined() local
71 PeriodicSampler<Tag, 0> sampler; in BM_PeriodicSampler_Disabled() local
Dperiodic_sampler_test.cc42 StrictMock<MockPeriodicSampler> sampler; in TEST() local
63 StrictMock<MockPeriodicSampler> sampler; in TEST() local
81 StrictMock<MockPeriodicSampler> sampler; in TEST() local
91 StrictMock<MockPeriodicSampler> sampler; in TEST() local
101 StrictMock<MockPeriodicSampler> sampler; in TEST() local
115 StrictMock<MockPeriodicSampler> sampler; in TEST() local
135 ABSL_CONST_INIT static PeriodicSampler<Tag> sampler; in TEST() local
141 PeriodicSampler<Tag> sampler; in TEST() local
147 PeriodicSampler<Tag, 100> sampler; in TEST() local
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/samplers/
Dprebuilt_sampler_ir.cc34 PreBuiltSamplerObj::PreBuiltSamplerObj(std::shared_ptr<SamplerRT> sampler) : sp_(std::move(sampler)… in PreBuiltSamplerObj()
40 PreBuiltSamplerObj::PreBuiltSamplerObj(std::shared_ptr<mindrecord::ShardOperator> sampler) in PreBuiltSamplerObj()
46 Status PreBuiltSamplerObj::SamplerBuild(std::shared_ptr<SamplerRT> *const sampler) { in SamplerBuild()
62 auto sampler = std::make_shared<PreBuiltSamplerObj>(sp_minddataset_); in SamplerCopy() local
70 auto sampler = std::make_shared<PreBuiltSamplerObj>(sp_); in SamplerCopy() local
Dsubset_random_sampler_ir.cc40 Status SubsetRandomSamplerObj::SamplerBuild(std::shared_ptr<SamplerRT> *sampler) { in SamplerBuild()
69 std::shared_ptr<SamplerObj> *sampler) { in from_json()
80 auto sampler = std::make_shared<SubsetRandomSamplerObj>(indices_, num_samples_); in SamplerCopy() local
Dsubset_sampler_ir.cc49 Status SubsetSamplerObj::SamplerBuild(std::shared_ptr<SamplerRT> *sampler) { in SamplerBuild()
76 …bj::from_json(nlohmann::json json_obj, int64_t num_samples, std::shared_ptr<SamplerObj> *sampler) { in from_json()
87 auto sampler = std::make_shared<SubsetSamplerObj>(indices_, num_samples_); in SamplerCopy() local
Dsequential_sampler_ir.cc66 std::shared_ptr<SamplerObj> *sampler) { in from_json()
76 Status SequentialSamplerObj::SamplerBuild(std::shared_ptr<SamplerRT> *sampler) { in SamplerBuild()
93 auto sampler = std::make_shared<SequentialSamplerObj>(start_index_, num_samples_); in SamplerCopy() local
Dmindrecord_sampler_ir.cc33 Status MindRecordSamplerObj::SamplerBuild(std::shared_ptr<SamplerRT> *sampler) { in SamplerBuild()
40 auto sampler = std::make_shared<MindRecordSamplerObj>(); in SamplerCopy() local
Dweighted_random_sampler_ir.cc68 std::shared_ptr<SamplerObj> *sampler) { in from_json()
80 Status WeightedRandomSamplerObj::SamplerBuild(std::shared_ptr<SamplerRT> *sampler) { in SamplerBuild()
87 auto sampler = std::make_shared<WeightedRandomSamplerObj>(weights_, num_samples_, replacement_); in SamplerCopy() local
Dpk_sampler_ir.cc64 …bj::from_json(nlohmann::json json_obj, int64_t num_samples, std::shared_ptr<SamplerObj> *sampler) { in from_json()
76 Status PKSamplerObj::SamplerBuild(std::shared_ptr<SamplerRT> *sampler) { in SamplerBuild()
100 auto sampler = std::make_shared<PKSamplerObj>(num_val_, shuffle_, num_samples_); in SamplerCopy() local
Drandom_sampler_ir.cc60 …bj::from_json(nlohmann::json json_obj, int64_t num_samples, std::shared_ptr<SamplerObj> *sampler) { in from_json()
73 Status RandomSamplerObj::SamplerBuild(std::shared_ptr<SamplerRT> *sampler) { in SamplerBuild()
92 …auto sampler = std::make_shared<RandomSamplerObj>(replacement_, num_samples_, reshuffle_each_epoch… in SamplerCopy() local
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DSamplersTest.cpp22 void validateInvalidAnisotropy(GLSampler &sampler, float invalidValue) in validateInvalidAnisotropy()
29 void validateValidAnisotropy(GLSampler &sampler, float validValue) in validateValidAnisotropy()
43 GLSampler sampler; in TEST_P() local
63 GLSampler sampler; in TEST_P() local
73 GLSampler sampler; in TEST_P() local
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/ir/datasetops/source/samplers/
Dbindings.cc49 … std::shared_ptr<DistributedSamplerObj> sampler = std::make_shared<DistributedSamplerObj>( in __anon6a76297f0302() local
59 .def(py::init([](int64_t num_samples, py::object sampler) { in __anon6a76297f0502()
71 std::shared_ptr<PKSamplerObj> sampler = in __anon6a76297f0702() local
82 std::shared_ptr<RandomSamplerObj> sampler = in __anon6a76297f0902() local
93 std::shared_ptr<SequentialSamplerObj> sampler = in __anon6a76297f0b02() local
104 std::shared_ptr<SubsetSamplerObj> sampler = in __anon6a76297f0d02() local
115 std::shared_ptr<SubsetRandomSamplerObj> sampler = in __anon6a76297f0f02() local
126 std::shared_ptr<WeightedRandomSamplerObj> sampler = in __anon6a76297f1102() local
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DSamplersTest.cpp22 void validateInvalidAnisotropy(GLSampler &sampler, float invalidValue) in validateInvalidAnisotropy()
29 void validateValidAnisotropy(GLSampler &sampler, float validValue) in validateValidAnisotropy()
48 GLSampler sampler; in TEST_P() local
70 GLSampler sampler; in TEST_P() local
82 GLSampler sampler; in TEST_P() local
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DVertexProcessor.cpp524 void VertexProcessor::setTextureFilter(unsigned int sampler, FilterType textureFilter) in setTextureFilter()
533 void VertexProcessor::setMipmapFilter(unsigned int sampler, MipmapType mipmapFilter) in setMipmapFilter()
542 void VertexProcessor::setGatherEnable(unsigned int sampler, bool enable) in setGatherEnable()
551 void VertexProcessor::setAddressingModeU(unsigned int sampler, AddressingMode addressMode) in setAddressingModeU()
560 void VertexProcessor::setAddressingModeV(unsigned int sampler, AddressingMode addressMode) in setAddressingModeV()
569 void VertexProcessor::setAddressingModeW(unsigned int sampler, AddressingMode addressMode) in setAddressingModeW()
578 void VertexProcessor::setReadSRGB(unsigned int sampler, bool sRGB) in setReadSRGB()
587 void VertexProcessor::setMipmapLOD(unsigned int sampler, float bias) in setMipmapLOD()
596 void VertexProcessor::setBorderColor(unsigned int sampler, const Color<float> &borderColor) in setBorderColor()
605 void VertexProcessor::setMaxAnisotropy(unsigned int sampler, float maxAnisotropy) in setMaxAnisotropy()
[all …]
DPixelProcessor.cpp369 void PixelProcessor::setTextureFilter(unsigned int sampler, FilterType textureFilter) in setTextureFilter()
378 void PixelProcessor::setMipmapFilter(unsigned int sampler, MipmapType mipmapFilter) in setMipmapFilter()
387 void PixelProcessor::setGatherEnable(unsigned int sampler, bool enable) in setGatherEnable()
396 void PixelProcessor::setAddressingModeU(unsigned int sampler, AddressingMode addressMode) in setAddressingModeU()
405 void PixelProcessor::setAddressingModeV(unsigned int sampler, AddressingMode addressMode) in setAddressingModeV()
414 void PixelProcessor::setAddressingModeW(unsigned int sampler, AddressingMode addressMode) in setAddressingModeW()
423 void PixelProcessor::setReadSRGB(unsigned int sampler, bool sRGB) in setReadSRGB()
432 void PixelProcessor::setMipmapLOD(unsigned int sampler, float bias) in setMipmapLOD()
441 void PixelProcessor::setBorderColor(unsigned int sampler, const Color<float> &borderColor) in setBorderColor()
450 void PixelProcessor::setMaxAnisotropy(unsigned int sampler, float maxAnisotropy) in setMaxAnisotropy()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/ir/datasetops/source/
Dbindings.cc74 … .def(py::init([](std::string dataset_dir, std::string usage, py::handle sampler) { in __anon810239690302()
84 … .def(py::init([](std::string dataset_dir, std::string usage, py::handle sampler) { in __anon810239690502()
96 std::string task, bool decode, const py::handle &sampler) { in __anon810239690702()
121 bool decode, const py::handle &sampler, bool extra_metadata) { in __anon810239690b02()
146 bool decode, py::handle sampler) { in __anon810239690f02()
157 …([](std::string dataset_dir, std::string annotation_file, bool decode, const py::handle &sampler) { in __anon810239691102()
178 … int64_t dataset_len, py::handle sampler, uint32_t num_parallel_workers) { in __anon810239691302()
204 … .def(py::init([](std::string dataset_file, std::string usage, py::handle sampler, in __anon810239691802()
216 … .def(py::init([](std::string dataset_file, py::list columns_list, py::handle sampler, in __anon810239691a02()
228 … .def(py::init([](py::list dataset_file, py::list columns_list, py::handle sampler, in __anon810239691a02()
[all …]
/third_party/boost/libs/compute/test/
Dtest_image_sampler.cpp31 compute::image_sampler sampler(context, true, CL_ADDRESS_NONE, CL_FILTER_NEAREST); in BOOST_AUTO_TEST_CASE() local
42 compute::image_sampler sampler(context, true, CL_ADDRESS_NONE, CL_FILTER_NEAREST); in BOOST_AUTO_TEST_CASE() local
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Ddatasets.cc852const std::shared_ptr<Sampler> &sampler, const std::shared_ptr<DatasetCache> &cache) { in AlbumDataset()
860 … const std::vector<std::vector<char>> &column_names, bool decode, const Sampler *sampler, in AlbumDataset()
869const std::reference_wrapper<Sampler> sampler, const std::shared_ptr<DatasetCache> &cache) { in AlbumDataset()
878 const std::shared_ptr<Sampler> &sampler, bool decode, in CelebADataset()
887const Sampler *sampler, bool decode, const std::set<std::vector<char>> &extensions, in CelebADataset()
895 const std::reference_wrapper<Sampler> sampler, bool decode, in CelebADataset()
905const std::shared_ptr<Sampler> &sampler, const std::shared_ptr<DatasetCache> &cache) { in Cifar10Dataset()
911 const Sampler *sampler, const std::shared_ptr<DatasetCache> &cache) { in Cifar10Dataset()
917 const std::reference_wrapper<Sampler> sampler, in Cifar10Dataset()
925const std::shared_ptr<Sampler> &sampler, const std::shared_ptr<DatasetCache> &cache) { in Cifar100Dataset()
[all …]
/third_party/vk-gl-cts/framework/common/
DtcuTexture.hpp560 inline Vec4 Texture2DView::sample (const Sampler& sampler, float s, float t, float lod) const in sample() argument
565 inline Vec4 Texture2DView::sampleOffset (const Sampler& sampler, float s, float t, float lod, const… in sampleOffset() argument
570 inline float Texture2DView::sampleCompare (const Sampler& sampler, float ref, float s, float t, flo… in sampleCompare() argument
575 inline float Texture2DView::sampleCompareOffset (const Sampler& sampler, float ref, float s, float … in sampleCompareOffset() argument
580 inline Vec4 Texture2DView::gatherOffsets (const Sampler& sampler, float s, float t, int componentNd… in gatherOffsets() argument
585 inline Vec4 Texture2DView::gatherOffsetsCompare (const Sampler& sampler, float ref, float s, float … in gatherOffsetsCompare() argument
666 inline Vec4 Texture2D::sample (const Sampler& sampler, float s, float t, float lod) const in sample() argument
671 inline Vec4 Texture2D::sampleOffset (const Sampler& sampler, float s, float t, float lod, const IVe… in sampleOffset() argument
676 inline float Texture2D::sampleCompare (const Sampler& sampler, float ref, float s, float t, float l… in sampleCompare() argument
681 inline float Texture2D::sampleCompareOffset (const Sampler& sampler, float ref, float s, float t, f… in sampleCompareOffset() argument
[all …]
/third_party/flutter/skia/src/gpu/vk/
DGrVkSampler.h24 VkSampler sampler() const { return fSampler; } in sampler() function
47 static const Key& GetKey(const GrVkSampler& sampler) { return sampler.fKey; } in GetKey()
61 GrVkSampler(VkSampler sampler, GrVkSamplerYcbcrConversion* ycbcrConversion, Key key) in GrVkSampler()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DSamplerGL.cpp19 GLuint sampler, in SetSamplerParameter()
27 GLuint sampler, in SetSamplerParameter()
50 GLuint sampler, in SyncSamplerStateMember()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DSamplerGL.cpp19 GLuint sampler, in SetSamplerParameter()
27 GLuint sampler, in SetSamplerParameter()
50 GLuint sampler, in SyncSamplerStateMember()
/third_party/mesa3d/src/mesa/main/
Dsamplerobj.c305 _mesa_IsSampler(GLuint sampler) in _mesa_IsSampler()
327 bind_sampler(struct gl_context *ctx, GLuint unit, GLuint sampler, bool no_error) in bind_sampler()
350 _mesa_BindSampler_no_error(GLuint unit, GLuint sampler) in _mesa_BindSampler_no_error()
357 _mesa_BindSampler(GLuint unit, GLuint sampler) in _mesa_BindSampler()
934 sampler_parameter_error_check(struct gl_context *ctx, GLuint sampler, in sampler_parameter_error_check()
967 _mesa_SamplerParameteri(GLuint sampler, GLenum pname, GLint param) in _mesa_SamplerParameteri()
1053 _mesa_SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) in _mesa_SamplerParameterf()
1138 _mesa_SamplerParameteriv(GLuint sampler, GLenum pname, const GLint *params) in _mesa_SamplerParameteriv()
1231 _mesa_SamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *params) in _mesa_SamplerParameterfv()
1317 _mesa_SamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *params) in _mesa_SamplerParameterIiv()
[all …]

12345678910>>...30