Home
last modified time | relevance | path

Searched +full:opencl +full:- +full:native (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/EGL/extensions/EXT/
DEGL_EXT_sync_reuse.txt66 fence in the current API. For OpenCL event sync objects, this means
67 waiting for a new OpenCL event handle. This mechanism also allows
94 provide an efficient means of serializing client and native API
129 An <OpenCL event sync object> reflects the status of a corresponding
130 OpenCL event object to which the sync object is linked. This
132 EGL and OpenCL (see Chapter 9 of the OpenCL 1.0 Specification and
134 equivalent to waiting for completion of the linked OpenCL event
144 <attrib list> is NULL or an attribute-value list specifying other
252 3.8.1.2 Creating and Signaling OpenCL Event Sync Objects
254 If type is EGL_SYNC_CL_EVENT, an OpenCL event sync object is
[all …]
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/
DEGL_EXT_sync_reuse.txt66 fence in the current API. For OpenCL event sync objects, this means
67 waiting for a new OpenCL event handle. This mechanism also allows
94 provide an efficient means of serializing client and native API
129 An <OpenCL event sync object> reflects the status of a corresponding
130 OpenCL event object to which the sync object is linked. This
132 EGL and OpenCL (see Chapter 9 of the OpenCL 1.0 Specification and
134 equivalent to waiting for completion of the linked OpenCL event
144 <attrib list> is NULL or an attribute-value list specifying other
252 3.8.1.2 Creating and Signaling OpenCL Event Sync Objects
254 If type is EGL_SYNC_CL_EVENT, an OpenCL event sync object is
[all …]
/third_party/spirv-tools/
Dbuild_defs.bzl2 "-DSPIRV_CHECK_CONTEXT",
3 "-DSPIRV_COLOR_TERMINAL",
7 "-DSPIRV_LINUX",
8 "-DSPIRV_TIMER_ENABLED",
9 "-Wall",
10 "-Wextra",
11 "-Wnon-virtual-dtor",
12 "-Wno-missing-field-initializers",
13 "-Werror",
14 "-std=c++11",
[all …]
/third_party/skia/third_party/externals/spirv-tools/
Dbuild_defs.bzl2 "-DSPIRV_CHECK_CONTEXT",
3 "-DSPIRV_COLOR_TERMINAL",
7 "-DSPIRV_LINUX",
8 "-DSPIRV_TIMER_ENABLED",
9 "-Wall",
10 "-Wextra",
11 "-Wnon-virtual-dtor",
12 "-Wno-missing-field-initializers",
13 "-Werror",
14 "-std=c++11",
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/
Dbuild_defs.bzl2 "-DSPIRV_CHECK_CONTEXT",
3 "-DSPIRV_COLOR_TERMINAL",
7 "-DSPIRV_LINUX",
8 "-DSPIRV_TIMER_ENABLED",
9 "-Wall",
10 "-Wextra",
11 "-Wnon-virtual-dtor",
12 "-Wno-missing-field-initializers",
13 "-Werror",
14 "-std=c++11",
[all …]
/third_party/EGL/extensions/KHR/
DEGL_KHR_cl_event2.txt12 Alon Or-bach, Samsung Electronics
25 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at
48 An OpenCL implementation supporting sharing OpenCL event objects
56 This extension allows creating an EGL sync object linked to an OpenCL
59 complementary functionality of creating an OpenCL event object from an
64 implementation issue on 64-bit platforms where passing OpenCL event
66 implementations use a 32-bit type for EGLint.
69 EGL_KHR_fence_sync extension, similarly modified for 64-bit platforms.
81 Event handles of type cl_event, defined in the OpenCL header files, may
135 "A <CL event sync object> reflects the status of a corresponding OpenCL
[all …]
DEGL_KHR_cl_event.txt12 Alon Or-bach, Samsung Electronics
24 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at
52 An OpenCL implementation supporting sharing OpenCL event objects
58 OpenCL event object, potentially improving efficiency of sharing
61 OpenCL event object from an EGL fence sync object.
65 None. However, event handles of type cl_event, defined in the OpenCL
97 OpenCL event object to which the sync object is linked. This
99 EGL and OpenCL (see Chapter 9 of the OpenCL 1.0 Specification and
108 EGL_CL_EVENT_HANDLE_KHR, set to a valid OpenCL event. Note that
113 ------------- --------------------------
[all …]
/third_party/skia/third_party/externals/egl-registry/extensions/KHR/
DEGL_KHR_cl_event2.txt12 Alon Or-bach, Samsung Electronics
25 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at
48 An OpenCL implementation supporting sharing OpenCL event objects
56 This extension allows creating an EGL sync object linked to an OpenCL
59 complementary functionality of creating an OpenCL event object from an
64 implementation issue on 64-bit platforms where passing OpenCL event
66 implementations use a 32-bit type for EGLint.
69 EGL_KHR_fence_sync extension, similarly modified for 64-bit platforms.
81 Event handles of type cl_event, defined in the OpenCL header files, may
135 "A <CL event sync object> reflects the status of a corresponding OpenCL
[all …]
DEGL_KHR_cl_event.txt12 Alon Or-bach, Samsung Electronics
24 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at
52 An OpenCL implementation supporting sharing OpenCL event objects
58 OpenCL event object, potentially improving efficiency of sharing
61 OpenCL event object from an EGL fence sync object.
65 None. However, event handles of type cl_event, defined in the OpenCL
97 OpenCL event object to which the sync object is linked. This
99 EGL and OpenCL (see Chapter 9 of the OpenCL 1.0 Specification and
108 EGL_CL_EVENT_HANDLE_KHR, set to a valid OpenCL event. Note that
113 ------------- --------------------------
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/
DCLDeviceCL.cpp3 // Use of this source code is governed by a BSD-style license that can be
20 // Object information is queried in OpenCL by providing allocated memory into which the requested
28 if (device->getDispatch().clGetDeviceInfo(device, cl::ToCLenum(name), 0u, nullptr, &size) == in GetDeviceInfo()
33 if (device->getDispatch().clGetDeviceInfo(device, cl::ToCLenum(name), size, vector.data(), in GetDeviceInfo()
43 // This queries the OpenCL device info for value types with known size
47 if (device->getDispatch().clGetDeviceInfo(device, cl::ToCLenum(name), sizeof(T), &value, in GetDeviceInfo()
60 if (!mDevice.isRoot() && mNative->getDispatch().clReleaseDevice(mNative) != CL_SUCCESS) in ~CLDeviceCL()
75 // From the OpenCL specification for info name CL_DEVICE_MAX_WORK_ITEM_SIZES: in createInfo()
77 … // https://www.khronos.org/registry/OpenCL/specs/3.0-unified/html/OpenCL_API.html#clGetDeviceInfo in createInfo()
112 if (info.versionStr.compare(0u, 15u, "OpenCL 3.0 CUDA", 15u) == 0) in createInfo()
[all …]
DCLPlatformCL.cpp3 // Use of this source code is governed by a BSD-style license that can be
31 if (platform->getDispatch().clGetPlatformInfo(platform, cl::ToCLenum(name), 0u, nullptr, in GetPlatformString()
35 if (platform->getDispatch().clGetPlatformInfo(platform, cl::ToCLenum(name), size, in GetPlatformString()
52 if (mNative == nullptr || mNative->getDispatch().clGetPlatformIDs == nullptr || in createInfo()
53 mNative->getDispatch().clGetPlatformInfo == nullptr || in createInfo()
54 mNative->getDispatch().clGetDeviceIDs == nullptr || in createInfo()
55 mNative->getDispatch().clGetDeviceInfo == nullptr || in createInfo()
56 mNative->getDispatch().clCreateContext == nullptr || in createInfo()
57 mNative->getDispatch().clCreateContextFromType == nullptr || in createInfo()
58 mNative->getDispatch().clRetainContext == nullptr || in createInfo()
[all …]
/third_party/mesa3d/
Dmeson_options.txt1 # Copyright © 2017-2019 Intel Corporation
31 'egl-native-platform',
41 'android-stub',
44 description : 'Build against android-stub',
55 'dri-drivers',
60 'dri-drivers-path',
66 'dri-search-path',
69 …: 'Locations to search for dri drivers, passed as colon separated list. Default: dri-drivers-path.'
72 'gallium-drivers',
83 'gallium-extra-hud',
[all …]
/third_party/vk-gl-cts/framework/common/
DtcuCommandLine.hpp3 /*-------------------------------------------------------------------------
5 * ----------------------------------------
13 * http://www.apache.org/licenses/LICENSE-2.0
24 *//*--------------------------------------------------------------------*/
38 /*--------------------------------------------------------------------*//*!
41 *//*--------------------------------------------------------------------*/
46 …RUNMODE_DUMP_TEXT_CASELIST, //! Test program dumps the list of contained test cases in plain-text…
47 …RUNMODE_DUMP_STDOUT_CASELIST, //! Test program dumps the list of contained test cases in plain-tex…
53 /*--------------------------------------------------------------------*//*!
55 *//*--------------------------------------------------------------------*/
[all …]
/third_party/mesa3d/src/gallium/frontends/clover/llvm/
Dutil.hpp2 // Copyright 2012-2016 Francisco Jerez
3 // Copyright 2012-2016 Advanced Micro Devices, Inc.
49 cpu(s.begin(), s.begin() + s.find_first_of("-")), in target()
50 triple(s.begin() + s.find_first_of("-") + 1, s.end()) {} in target()
60 native = 1 << 2, enumerator
67 { "clc", clc, "Dump the OpenCL C code for all kernels." }, in has_flag()
69 { "native", native, "Dump kernel assembly code for targets " in has_flag()
71 { "spirv", spirv, "Dump the generated SPIR-V for all kernels." }, in has_flag()
Dinvocation.cpp2 // Copyright 2012-2016 Francisco Jerez
3 // Copyright 2012-2016 Advanced Micro Devices, Inc.
4 // Copyright 2014-2016 Jan Vesely
5 // Copyright 2014-2015 Serge Martin
32 #include <llvm-c/Target.h>
141 ctx->setDiagnosticHandlerCallBack(diagnostic_handler, &r_log); in create_context()
188 const std::string search = "-cl-std=CL"; in get_language_version()
226 // class to recognize it as an OpenCL source file. in create_compiler_instance()
231 // https://gitlab.freedesktop.org/mesa/mesa/-/issues/6342 in create_compiler_instance()
233 // https://github.com/llvm/llvm-project/issues/54970#issuecomment-1102254254 in create_compiler_instance()
[all …]
/third_party/mesa3d/bin/
Dkhronos-update.py11 def error(msg: str) -> None:
20 def sync(self) -> None:
31 # Gitiles returns base64-encoded strings.
50 …Source('include/KHR/khrplatform.h', 'https://github.com/KhronosGroup/EGL-Registry/raw/main/api/…
58 …Source('src/egl/generate/egl.xml', 'https://github.com/KhronosGroup/EGL-Registry/raw/main/api/…
59 …Source('include/EGL/egl.h', 'https://github.com/KhronosGroup/EGL-Registry/raw/main/api/…
60 …Source('include/EGL/eglplatform.h', 'https://github.com/KhronosGroup/EGL-Registry/raw/main/api/…
61 …Source('include/EGL/eglext.h', 'https://github.com/KhronosGroup/EGL-Registry/raw/main/api/…
72 …Source('src/mapi/glapi/registry/gl.xml', 'https://github.com/KhronosGroup/OpenGL-Registry/raw/main…
73 …Source('include/GL/glcorearb.h', 'https://github.com/KhronosGroup/OpenGL-Registry/raw/main…
[all …]
/third_party/mesa3d/.gitlab-ci/build/
Dgitlab-ci.yml2 .build-common:
3 extends: .build-rules
10 - _build/meson-logs/*.txt
11 - _build/meson-logs/strace
12 - shader-db
15 .build-linux:
16 extends: .build-common
23 - !reference [default, before_script]
24 - export PATH="/usr/lib/ccache:$PATH"
25 - export CCACHE_BASEDIR="$PWD"
[all …]
/third_party/vk-gl-cts/framework/egl/
DegluPlatform.hpp3 /*-------------------------------------------------------------------------
5 * ----------------------------------------
13 * http://www.apache.org/licenses/LICENSE-2.0
24 *//*--------------------------------------------------------------------*/
39 /*--------------------------------------------------------------------*//*!
42 * EGL platform interface provides mechanism to implement platform-specific
45 * A single platform can support multiple native object types. This is
47 * parameters (such as --deqp-egl-display-type=) are used to select
61 * OpenCL tests can benefit from, but do not require EGL platform
63 *//*--------------------------------------------------------------------*/
[all …]
/third_party/mesa3d/docs/
Dinstall.rst11 -----------------------------
19 - `Meson <https://mesonbuild.com>`__ is required when building on \*nix
21 - Android Build system when building as native Android component. Meson
30 - GCC 4.2.0 or later (some parts of Mesa may require later versions)
31 - Clang - exact minimum requirement is currently unknown.
32 - Microsoft Visual Studio 2019 Version 16.11 or later and
38 - `Python <https://www.python.org/>`__ - Python 3.5 or newer is required.
39 - `Python Mako module <http://www.makotemplates.org/>`__ - Python Mako
41 - Lex / Yacc - for building the Mesa IR and GLSL compiler.
47 .. code-block:: console
[all …]
/third_party/mesa3d/docs/relnotes/
D10.0.rst16 -------------
20 b38626b96c664db67a534d7859682436 MesaLib-10.0.0.tar.gz
21 f3fe55d9735bea158bbe97ed9a0da819 MesaLib-10.0.0.tar.bz2
22 c6ee1ce51e3bf35947d2978b872daf51 MesaLib-10.0.0.zip
25 ------------
29 - GL_AMD_seamless_cubemap_per_texture on i965.
30 - GL_ARB_conservative_depth on i965.
31 - GL_ARB_texture_gather on i965.
32 - GL_ARB_texture_query_levels on i965.
33 - GL_ARB_texture_mirror_clamp_to_edge.
[all …]
/third_party/mesa3d/include/CL/
Dcl_ext.h2 * Copyright (c) 2008-2020 The Khronos Group Inc.
8 * http://www.apache.org/licenses/LICENSE-2.0
17 /* cl_ext.h contains OpenCL extensions which don't have external */
29 /* cl_khr_fp64 extension - no extension #define since it has no functions */
30 /* CL_DEVICE_DOUBLE_FP_CONFIG is defined in CL.h for OpenCL >= 120 */
36 /* cl_khr_fp16 extension - no extension #define since it has no functions */
98 #define CL_PLATFORM_NOT_FOUND_KHR -1001
142 * OpenCL program is image2d_t. Both the sampler and sampler-less read_image
143 * built-in functions are supported for 2D images and 2D images created from
144 * a buffer. Similarly, the write_image built-ins are also supported for 2D
[all …]
/third_party/skia/third_party/externals/angle2/gni/
Dangle.gni2 # Use of this source code is governed by a BSD-style license that can be
10 # Extract native libs in ANGLE apk. Useful for flamegraph generation.
20 # Enables OpenCL support, off by default.
144 # extensions. Content can be rendered only off-screen.
154 # Enables the OpenCL pass-through back end
158 # OpenCL is not supported on Windows UWP, because the CL headers include DX9, which is not
161 "OpenCL is not supported on Windows UWP")
168 # Currently SwiftShader's Vulkan front-end doesn't build on Android.
190 # Support using glslang to generate SPIR-V for the time being for the purpose of debugging
191 # the SPIR-V generation path, but leave it disabled on release. It's still used by the metal
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULibCalls.cpp1 //===- AMDGPULibCalls.cpp -------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
39 #define DEBUG_TYPE "amdgpu-simplifylib"
43 static cl::opt<bool> EnablePreLink("amdgpu-prelink",
44 cl::desc("Enable pre-link mode optimizations"),
48 static cl::list<std::string> UseNative("amdgpu-use-native",
49 cl::desc("Comma separated list of functions to replace with native, or all"),
67 // -fuse-native.
[all …]
/third_party/spirv-tools/include/spirv-tools/
Dlibspirv.h1 // Copyright (c) 2015-2020 The Khronos Group Inc.
9 // http://www.apache.org/licenses/LICENSE-2.0
63 SPV_ERROR_INTERNAL = -1,
64 SPV_ERROR_OUT_OF_MEMORY = -2,
65 SPV_ERROR_INVALID_POINTER = -3,
66 SPV_ERROR_INVALID_BINARY = -4,
67 SPV_ERROR_INVALID_TEXT = -5,
68 SPV_ERROR_INVALID_TABLE = -6,
69 SPV_ERROR_INVALID_VALUE = -7,
70 SPV_ERROR_INVALID_DIAGNOSTIC = -8,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/include/spirv-tools/
Dlibspirv.h1 // Copyright (c) 2015-2020 The Khronos Group Inc.
9 // http://www.apache.org/licenses/LICENSE-2.0
63 SPV_ERROR_INTERNAL = -1,
64 SPV_ERROR_OUT_OF_MEMORY = -2,
65 SPV_ERROR_INVALID_POINTER = -3,
66 SPV_ERROR_INVALID_BINARY = -4,
67 SPV_ERROR_INVALID_TEXT = -5,
68 SPV_ERROR_INVALID_TABLE = -6,
69 SPV_ERROR_INVALID_VALUE = -7,
70 SPV_ERROR_INVALID_DIAGNOSTIC = -8,
[all …]

1234