/third_party/mindspore/mindspore/lite/src/runtime/gpu/opencl/ |
D | opencl_runtime_wrapper.cc | 33 namespace mindspore::registry::opencl { namespace 35 lite::opencl::OpenCLRuntimeInnerWrapper ocl_runtime_wrap; in LoadSource() 36 lite::opencl::OpenCLRuntime *ocl_runtime = ocl_runtime_wrap.GetInstance(); in LoadSource() 48 lite::opencl::OpenCLRuntimeInnerWrapper ocl_runtime_wrap; in BuildKernel() 49 lite::opencl::OpenCLRuntime *ocl_runtime = ocl_runtime_wrap.GetInstance(); in BuildKernel() 59 lite::opencl::OpenCLRuntimeInnerWrapper ocl_runtime_wrap; in SetKernelArg() 60 lite::opencl::OpenCLRuntime *ocl_runtime = ocl_runtime_wrap.GetInstance(); in SetKernelArg() 70 lite::opencl::OpenCLRuntimeInnerWrapper ocl_runtime_wrap; in RunKernel() 71 lite::opencl::OpenCLRuntime *ocl_runtime = ocl_runtime_wrap.GetInstance(); in RunKernel() 80 lite::opencl::OpenCLRuntimeInnerWrapper ocl_runtime_wrap; in SyncCommandQueue() [all …]
|
D | opencl_wrapper.cc | 27 namespace mindspore::lite::opencl { namespace 172 …[&](const std::string &lib_path) { return lite::opencl::LoadLibraryFromPath(lib_path, handle_ptr);… in LoadOpenCLLibrary() 254 auto func = mindspore::lite::opencl::clGetPlatformIDs; in clGetPlatformIDs() 262 auto func = mindspore::lite::opencl::clGetPlatformInfo; in clGetPlatformInfo() 270 auto func = mindspore::lite::opencl::clGetDeviceIDs; in clGetDeviceIDs() 278 auto func = mindspore::lite::opencl::clGetDeviceInfo; in clGetDeviceInfo() 287 auto func = mindspore::lite::opencl::clCreateContext; in clCreateContext() 296 auto func = mindspore::lite::opencl::clCreateContextFromType; in clCreateContextFromType() 303 auto func = mindspore::lite::opencl::clRetainContext; in clRetainContext() 310 auto func = mindspore::lite::opencl::clReleaseContext; in clReleaseContext() [all …]
|
/third_party/boost/libs/numeric/ublas/ |
D | opencl.jam | 7 # Supports the opencl library 9 # After 'using opencl', the following targets are available: 11 # /opencl//opencl -- The OpenCL library 32 # Initializes the opencl library. 34 # Options for configuring opencl:: 46 # using opencl ; 47 # # Find opencl in /usr/local 48 # using opencl : 1.2.7 51 rule init ( version ? : # The opencl version (currently ignored) 53 requirements * ) # The requirements for the opencl target [all …]
|
/third_party/boost/boost/numeric/ublas/opencl/ |
D | elementwise.hpp | 17 namespace boost { namespace numeric { namespace ublas { namespace opencl { namespace 23 void element_wise(ublas::matrix<T, L1, opencl::storage> const &a, in element_wise() 24 ublas::matrix<T, L2, opencl::storage> const &b, in element_wise() 25 ublas::matrix<T, L3, opencl::storage> &result, in element_wise() 49 ublas::matrix<T, L1, opencl::storage> adev(a, queue); in element_wise() 50 ublas::matrix<T, L2, opencl::storage> bdev(b, queue); in element_wise() 51 ublas::matrix<T, L3, opencl::storage> rdev(a.size1(), b.size2(), queue.get_context()); in element_wise() 68 void element_wise(ublas::vector<T, opencl::storage> const &a, in element_wise() 69 ublas::vector<T, opencl::storage> const &b, in element_wise() 70 ublas::vector<T, opencl::storage> &result, in element_wise() [all …]
|
D | prod.hpp | 19 namespace boost { namespace numeric { namespace ublas { namespace opencl { namespace 26 prod(ublas::matrix<T, L1, opencl::storage> const &a, in prod() 27 ublas::matrix<T, L2, opencl::storage> const &b, in prod() 28 ublas::matrix<T, L1, opencl::storage> &result, in prod() 39 std::unique_ptr<ublas::matrix<T, L1, opencl::storage>> bl1; in prod() 49 bl1.reset(new ublas::matrix<T, L1, opencl::storage>(b.size1(), b.size2(), queue.get_context())); in prod() 97 ublas::matrix<T, L1, opencl::storage> adev(a, queue); in prod() 98 ublas::matrix<T, L2, opencl::storage> bdev(b, queue); in prod() 99 ublas::matrix<T, L1, opencl::storage> rdev(a.size1(), b.size2(), queue.get_context()); in prod() 117 prod(ublas::matrix<T, L, opencl::storage> const &a, in prod() [all …]
|
D | transpose.hpp | 32 namespace boost { namespace numeric { namespace ublas { namespace opencl { namespace 36 change_layout(ublas::matrix<T, L1, opencl::storage> const &m, in change_layout() 37 ublas::matrix<T, L2, opencl::storage> &result, in change_layout() 77 ublas::matrix<T, L1, opencl::storage> mdev(m, queue); in change_layout() 78 ublas::matrix<T, L2, opencl::storage> rdev(result.size1(), result.size2(), queue.get_context()); in change_layout() 85 trans(ublas::matrix<T, L, opencl::storage> const &m, in trans() 86 ublas::matrix<T, L, opencl::storage> &result, in trans() 125 ublas::matrix<T, L, opencl::storage> mdev(m, queue); in trans() 126 ublas::matrix<T, L, opencl::storage> rdev(result.size1(), result.size2(), queue.get_context()); in trans()
|
D | misc.hpp | 17 namespace boost { namespace numeric { namespace ublas { namespace opencl { namespace 21 a_sum(ublas::vector<T, opencl::storage> const &v, compute::command_queue& queue) in a_sum() 86 ublas::vector<T, opencl::storage> vdev(v, queue); in a_sum() 94 norm_1(ublas::vector<T, opencl::storage> const &v, compute::command_queue& queue) in norm_1() 105 ublas::vector<T, opencl::storage> vdev(v, queue); in norm_1() 111 norm_2(ublas::vector<T, opencl::storage> const &v, compute::command_queue& queue) in norm_2() 176 ublas::vector<T, opencl::storage> vdev(v, queue); in norm_2()
|
/third_party/opencl-headers/tests/ |
D | BUILD.gn | 29 part_name = "opencl" 38 part_name = "opencl" 47 part_name = "opencl" 56 part_name = "opencl" 65 part_name = "opencl" 74 part_name = "opencl" 83 part_name = "opencl" 92 part_name = "opencl" 101 part_name = "opencl" 110 part_name = "opencl" [all …]
|
/third_party/skia/third_party/externals/angle2/infra/specs/ |
D | angle_mb_config.pyl | 53 'angle_asan_bot': ['angle', 'opencl', 'traces', 'goma', 'asan', 'release'], 54 …'angle_goma_android_arm64_debug_bot': ['angle', 'opencl', 'traces', 'goma', 'android', 'arm64', 'd… 55 …'angle_goma_android_arm64_release_bot': ['angle', 'opencl', 'traces', 'goma', 'android', 'arm64', … 56 …'angle_goma_android_arm_debug_bot': ['angle', 'opencl', 'traces', 'goma', 'android', 'arm', 'debug… 57 …'angle_goma_android_arm_release_bot': ['angle', 'opencl', 'traces', 'goma', 'android', 'arm', 'rel… 59 'angle_goma_debug_bot': ['angle', 'opencl', 'traces', 'goma', 'debug'], 61 'angle_goma_release_bot': ['angle', 'opencl', 'traces', 'goma', 'release'], 62 'angle_goma_x86_debug_bot': ['angle', 'opencl', 'traces', 'goma', 'x86', 'debug'], 63 'angle_goma_x86_release_bot': ['angle', 'opencl', 'traces', 'goma', 'x86', 'release'], 64 'angle_non_clang_debug_bot': ['angle', 'opencl', 'non_clang', 'debug'], [all …]
|
/third_party/boost/libs/numeric/ublas/benchmarks/opencl/ |
D | inner_prod.cpp | 19 namespace opencl = boost::numeric::ublas::opencl; 21 namespace boost { namespace numeric { namespace ublas { namespace benchmark { namespace opencl { namespace 32 ublas::opencl::inner_prod(*this->a, *this->b, this->queue); in operation() 46 bm::opencl::inner_prod<T(vector,vector), true> p(name); in benchmark() 51 bm::opencl::inner_prod<T(vector,vector), false> p(name); in benchmark() 58 opencl::library lib; in main()
|
D | mv_prod.cpp | 19 namespace opencl = boost::numeric::ublas::opencl; 21 namespace boost { namespace numeric { namespace ublas { namespace benchmark { namespace opencl { namespace 32 ublas::opencl::prod(*this->a, *this->b, *this->c, this->queue); in operation() 47 bm::opencl::prod<void(matrix, vector, vector), true> p(name); in benchmark() 52 bm::opencl::prod<void(matrix, vector, vector), false> p(name); in benchmark() 59 opencl::library lib; in main()
|
D | add.cpp | 18 namespace opencl = boost::numeric::ublas::opencl; 20 namespace boost { namespace numeric { namespace ublas { namespace benchmark { namespace opencl { namespace 31 ublas::opencl::element_add(*this->a, *this->b, *this->c, this->queue); in operation() 45 bm::opencl::add<void(vector, vector, vector), true> p(name); in benchmark() 50 bm::opencl::add<void(vector, vector, vector), false> p(name); in benchmark() 57 opencl::library lib; in main()
|
D | mm_prod.cpp | 19 namespace opencl = boost::numeric::ublas::opencl; 21 namespace boost { namespace numeric { namespace ublas { namespace benchmark { namespace opencl { namespace 32 ublas::opencl::prod(*this->a, *this->b, *this->c, this->queue); in operation() 46 bm::opencl::prod<void(matrix, matrix, matrix), true> p(name); in benchmark() 51 bm::opencl::prod<void(matrix, matrix, matrix), false> p(name); in benchmark() 58 opencl::library lib; in main()
|
D | outer_prod.cpp | 19 namespace opencl = boost::numeric::ublas::opencl; 21 namespace boost { namespace numeric { namespace ublas { namespace benchmark { namespace opencl { namespace 32 ublas::opencl::outer_prod(*this->a, *this->b, *this->c, this->queue); in operation() 47 bm::opencl::outer_prod<void(vector, vector, matrix), true> p(name); in benchmark() 52 bm::opencl::outer_prod<void(vector, vector, matrix), false> p(name); in benchmark() 59 opencl::library lib; in main()
|
D | Jamfile | 11 import ../../opencl ; 13 using opencl ; 16 project boost/ublas/benchmarks/opencl 20 …[ ac.check-library /clblas//clblas : <library>/clblas//clblas <library>/opencl//opencl : <build>no…
|
/third_party/ffmpeg/libavfilter/ |
D | Makefile | 176 OBJS-$(CONFIG_AVGBLUR_OPENCL_FILTER) += vf_avgblur_opencl.o opencl.o \ 177 opencl/avgblur.o boxblur.o 188 OBJS-$(CONFIG_BOXBLUR_OPENCL_FILTER) += vf_avgblur_opencl.o opencl.o \ 189 opencl/avgblur.o boxblur.o 205 OBJS-$(CONFIG_COLORKEY_OPENCL_FILTER) += vf_colorkey_opencl.o opencl.o \ 206 opencl/colorkey.o 213 OBJS-$(CONFIG_CONVOLUTION_OPENCL_FILTER) += vf_convolution_opencl.o opencl.o \ 214 opencl/convolution.o 239 OBJS-$(CONFIG_DESHAKE_OPENCL_FILTER) += vf_deshake_opencl.o opencl.o \ 240 opencl/deshake.o [all …]
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/kernel/ |
D | strassen.cc | 26 using mindspore::lite::opencl::ImageSize; 69 B_temp[depth] = allocator->Malloc(memB, lite::opencl::MemType::BUF); in AllocatorMemoryForStrassen() 124 padWeight_ = allocator->Malloc(NumA * NumB * dtype_size, lite::opencl::MemType::BUF); in InitWeights() 237 cl_int2 offset, lite::opencl::MemType mem_type) { in StrassenDataFilled() 242 if (mem_type == lite::opencl::MemType::IMG) { in StrassenDataFilled() 274 int flag, lite::opencl::MemType mem_type) { in StrassenAddSub() 279 if (mem_type == lite::opencl::MemType::IMG) { in StrassenAddSub() 400 …ed(&MatMul_StrassenIMGFilled, data, A_temp[depth + 1], size_2, {0, 0}, lite::opencl::MemType::IMG); in DoStrassen() 402 lite::opencl::MemType::BUF); in DoStrassen() 408 lite::opencl::MemType::BUF); in DoStrassen() [all …]
|
/third_party/boost/libs/numeric/ublas/test/opencl/ |
D | Jamfile | 11 import ../../opencl ; 13 using opencl ; 16 project boost/ublas/test/opencl 19 …[ ac.check-library /clblas//clblas : <library>/clblas//clblas <library>/opencl//opencl : <build>no…
|
D | elementwise_operations_test.hpp | 12 opencl::library lib; in run() 66 result_m_add_cl = opencl::element_add(a, b, queue); in run() 69 result_m_sub_cl = opencl::element_sub(a, b, queue); in run() 72 result_m_mul_cl = opencl::element_prod(a, b, queue); in run() 76 result_v_add_cl = opencl::element_add(va, vb, queue); in run() 79 result_v_sub_cl = opencl::element_sub(va, vb, queue); in run() 82 result_v_mul_cl = opencl::element_prod(va, vb, queue); in run()
|
D | elementwise_operations_with_constants_test.hpp | 15 opencl::library lib; in run() 54 m_result_add_opencl = opencl::element_add(m, constant, queue); in run() 55 m_result_sub_opencl = opencl::element_sub(m, constant, queue); in run() 59 v_result_add_opencl = opencl::element_add(v, constant, queue); in run() 60 v_result_sub_opencl = opencl::element_sub(v, constant, queue); in run()
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/ |
D | opencl_kernel.h | 48 lite::opencl::MemType out_mem_type{lite::opencl::MemType::IMG}; 95 auto ocl_runtime_wrap_ = lite::opencl::OpenCLRuntimeInnerWrapper(); in GpuTensorInfo() 134 auto runtime_wrapper = lite::opencl::OpenCLRuntimeInnerWrapper(); in RowPitch() 208 int GetImageSize(size_t idx, lite::opencl::ImageSize *img_size); 210 lite::opencl::MemType GetMemType() { return out_mem_type_; } in GetMemType() 211 void SetMemType(lite::opencl::MemType mem_type) { out_mem_type_ = mem_type; } in SetMemType() 229 lite::opencl::OpenCLRuntime *ocl_runtime_; 230 lite::opencl::MemType out_mem_type_{lite::opencl::MemType::IMG}; 241 lite::opencl::OpenCLRuntimeInnerWrapper ocl_runtime_wrap_;
|
D | opencl_kernel.cc | 24 using mindspore::lite::opencl::ImageSize; 61 int OpenCLKernel::GetImageSize(size_t idx, lite::opencl::ImageSize *img_size) { in GetImageSize() 106 auto size = mem_type == lite::opencl::MemType::BUF ? img_info.OriginSize : img_info.Image2DSize; in PrintOutput() 108 auto runtime_wrapper = lite::opencl::OpenCLRuntimeInnerWrapper(); in PrintOutput() 114 if (mem_type == lite::opencl::MemType::BUF) { in PrintOutput() 136 …auto total_num = mem_type == lite::opencl::MemType::BUF ? img_info.ElementsNum : img_info.Elements… in PrintOutput() 165 if (GetMemType() == lite::opencl::MemType::IMG) { in PreProcess() 280 lite::opencl::TuningMode mode = ocl_runtime_->GetTuningMode(); in Tune() 281 if (mode == lite::opencl::TuningMode::DEFAULT) { in Tune() 286 …if (mode == lite::opencl::TuningMode::FAST && FAST_MODE_OPS.find(op_parameter_->type_) == FAST_MOD… in Tune() [all …]
|
/third_party/mindspore/mindspore/lite/tools/cropper/ |
D | build_cropper_config.sh | 285 "mindspore/lite/src/runtime/kernel/opencl/kernel/fusion_eltwise.cc" 286 "mindspore/lite/src/runtime/kernel/opencl/kernel/to_format.cc" 295 …, kNumberTypeFloat32, PrimitiveType_" "mindspore/lite/src/runtime/kernel/opencl/kernel" "kNumberTy… 296 …, kNumberTypeFloat16, PrimitiveType_" "mindspore/lite/src/runtime/kernel/opencl/kernel" "kNumberTy… 297 ….*?, kNumberTypeInt8, PrimitiveType_" "mindspore/lite/src/runtime/kernel/opencl/kernel" "kNumberTy… 298 …*?, kNumberTypeInt32, PrimitiveType_" "mindspore/lite/src/runtime/kernel/opencl/kernel" "kNumberTy… 299 ….*?, kNumberTypeBool, PrimitiveType_" "mindspore/lite/src/runtime/kernel/opencl/kernel" "kNumberTy…
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/ |
D | Android.bp | 66 "opencl.debuginfo.100.insts.inc", 67 "opencl.std.insts.inc", 78 ":swiftshader_spirv_headers_unified1_extinst.opencl.std.100.grammar.json", 81 ":swiftshader_spirv_headers_unified1_extinst.opencl.debuginfo.100.grammar.json", 92 …uginfo100-grammar=$(location :swiftshader_spirv_headers_unified1_extinst.opencl.debuginfo.100.gram… 97 …tshader_spirv_headers_unified1_extinst.opencl.debuginfo.100.grammar.json) --vendor-insts-output=$(… 98 …uginfo100-grammar=$(location :swiftshader_spirv_headers_unified1_extinst.opencl.debuginfo.100.gram… 99 …xtinst-opencl-grammar=$(location :swiftshader_spirv_headers_unified1_extinst.opencl.std.100.gramma…
|
/third_party/mesa3d/src/compiler/clc/ |
D | meson.build | 25 'opencl-c.h', 26 input : [files_xxd, join_paths(clang_resource_dir, 'opencl-c.h')], 27 output : 'opencl-c.h.h', 31 'opencl-c-base.h', 32 input : [files_xxd, join_paths(clang_resource_dir, 'opencl-c-base.h')], 33 output : 'opencl-c-base.h.h',
|