Home
last modified time | relevance | path

Searched refs:handle_map (Results 1 – 8 of 8) sorted by relevance

/external/skqp/src/compute/skc/
Dgrid.c137 skc_grid_id_t * handle_map; member
228 size_t const handle_map_size = sizeof(*deps->handle_map) * handle_pool_size; in skc_grid_deps_create()
231 deps->handle_map = skc_runtime_host_perm_alloc(runtime,SKC_MEM_FLAGS_READ_WRITE,handle_map_size); in skc_grid_deps_create()
234 memset(deps->handle_map,0xFF,handle_map_size); in skc_grid_deps_create()
264 skc_runtime_host_perm_free(deps->runtime,deps->handle_map); in skc_grid_deps_dispose()
433 grid->deps->handle_map[handle] = grid->id; in skc_grid_map()
448 skc_grid_id_t * const handle_map = deps->handle_map; in skc_grid_deps_force() local
452 skc_grid_id_t grid_id = handle_map[SKC_TYPED_HANDLE_TO_HANDLE(handles[ii])]; in skc_grid_deps_force()
471 skc_grid_id_t * const handle_map = deps->handle_map; in skc_grid_deps_unmap() local
474 handle_map[handles[ii]] = SKC_GRID_ID_INVALID; in skc_grid_deps_unmap()
[all …]
/external/tensorflow/tensorflow/core/util/
Drocm_solvers.cc145 HandleMap* handle_map = CHECK_NOTNULL(GetHandleMapSingleton()); in ROCmSolver() local
146 auto it = handle_map->find(hip_stream_); in ROCmSolver()
147 if (it == handle_map->end()) { in ROCmSolver()
153 it = handle_map->insert(std::make_pair(hip_stream_, std::move(new_handles))) in ROCmSolver()
Drocm_sparse.cc137 HandleMap* handle_map = GetHandleMapSingleton(); in Initialize() local
138 DCHECK(handle_map); in Initialize()
140 auto it = handle_map->find(gpu_stream_); in Initialize()
141 if (it == handle_map->end()) { in Initialize()
147 it = handle_map->insert(std::make_pair(gpu_stream_, std::move(new_handles))) in Initialize()
Dcuda_sparse.cc165 HandleMap* handle_map = GetHandleMapSingleton(); in Initialize() local
166 DCHECK(handle_map); in Initialize()
168 auto it = handle_map->find(gpu_stream_); in Initialize()
169 if (it == handle_map->end()) { in Initialize()
175 it = handle_map->insert(std::make_pair(gpu_stream_, std::move(new_handles))) in Initialize()
Dcuda_solvers.cc177 HandleMap* handle_map = CHECK_NOTNULL(GetHandleMapSingleton()); in CudaSolver() local
178 auto it = handle_map->find(cuda_stream_); in CudaSolver()
179 if (it == handle_map->end()) { in CudaSolver()
186 handle_map->insert(std::make_pair(cuda_stream_, std::move(new_handles))) in CudaSolver()
/external/libchrome/mojo/public/interfaces/bindings/tests/
Dtest_wtf_types.mojom17 map<int32, handle<message_pipe>> handle_map;
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/impl/
Dmsgpack.h57 return derived().handle_map(N, bytes); in cb_map()
83 const unsigned char *handle_map(uint64_t N, byte_range bytes) { in handle_map() function
Dmsgpack.cpp226 const unsigned char *handle_map(uint64_t N, byte_range bytes) { in dump() function