Home
last modified time | relevance | path

Searched refs:sparse_buffers (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.h105 struct amdgpu_cs_buffer *sparse_buffers; member
266 bo->sparse ? &cs->csc->sparse_buffers[index] : in amdgpu_bo_is_referenced_by_cs_with_usage()
Damdgpu_cs.c427 buffers = cs->sparse_buffers; in amdgpu_lookup_buffer()
582 new_buffers = REALLOC(cs->sparse_buffers, in amdgpu_lookup_or_add_sparse_buffer()
591 cs->sparse_buffers = new_buffers; in amdgpu_lookup_or_add_sparse_buffer()
595 buffer = &cs->sparse_buffers[idx]; in amdgpu_lookup_or_add_sparse_buffer()
669 buffer = &cs->sparse_buffers[index]; in amdgpu_cs_add_buffer()
917 p_atomic_dec(&cs->sparse_buffers[i].bo->num_cs_references); in amdgpu_cs_context_cleanup()
918 amdgpu_winsys_bo_reference(&cs->sparse_buffers[i].bo, NULL); in amdgpu_cs_context_cleanup()
940 FREE(cs->sparse_buffers); in amdgpu_destroy_cs_context()
1372 … amdgpu_add_fence_dependencies_bo_list(acs, cs->fence, cs->num_sparse_buffers, cs->sparse_buffers); in amdgpu_add_fence_dependencies_bo_lists()
1394 struct amdgpu_cs_buffer *buffer = &cs->sparse_buffers[i]; in amdgpu_add_sparse_backing_buffers()
[all …]
/external/tensorflow/tensorflow/lite/kernels/parse_example/
Dexample_proto_fast_parsing.cc25 const std::vector<std::vector<SparseBuffer>>& sparse_buffers, size_t d, in CountSparseFeatures() argument
27 for (auto& sparse_values_tmp : sparse_buffers) { in CountSparseFeatures()
Dparse_example.cc464 std::vector<SparseBuffer> sparse_buffers(config.sparse.size()); in FastParseExampleLite() local
472 hasher, &result->dense_values, &varlen_dense_buffers, &sparse_buffers, in FastParseExampleLite()
485 CountSparseFeatures(sparse_buffers[d], &total_num_features, in FastParseExampleLite()
504 SparseBuffer& buffer = sparse_buffers[d]; in FastParseExampleLite()
Dexample_proto_fast_parsing.h424 const std::vector<std::vector<SparseBuffer>>& sparse_buffers, size_t d,
/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing.cc1075 const std::vector<std::vector<SparseBuffer>>& sparse_buffers, size_t d, in CountSparseFeatures() argument
1077 for (auto& sparse_values_tmp : sparse_buffers) { in CountSparseFeatures()
1208 std::vector<std::vector<SparseBuffer>> sparse_buffers(num_minibatches); in FastParseExample() local
1213 sparse_buffers[minibatch].resize(config.sparse.size()); in FastParseExample()
1227 &varlen_dense_buffers[minibatch], &sparse_buffers[minibatch], in FastParseExample()
1255 CountSparseFeatures(sparse_buffers, d, &total_num_features, in FastParseExample()
1275 for (size_t i = 0; i < sparse_buffers.size(); ++i) { in FastParseExample()
1276 SparseBuffer& buffer = sparse_buffers[i][d]; in FastParseExample()