Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Din_top_k_impl.cu27 int32_t target_index = targets[gt_id]; in InTopK() local
28 T predicted_value = predictions[gt_id * class_id_count + target_index]; in InTopK()
/third_party/boost/libs/graph/test/
Dgrid_graph_test.cpp201 vertices_size_type target_index in do_test() local
204 BOOST_TEST(source_index != target_index); in do_test()
208 target_index < num_vertices(graph))); in do_test()
/third_party/ffmpeg/libavcodec/
Dpsd.c228 unsigned long target_index = 0; in decode_rle() local
258 if (target_index + repeat_count >= s->uncompressed_size) { in decode_rle()
265 s->tmp[target_index++] = v; in decode_rle()
274 if (target_index + rle_char >= s->uncompressed_size) { in decode_rle()
281 s->tmp[target_index++] = v; in decode_rle()
/third_party/mesa3d/src/compiler/glsl/
Dlinker.cpp2854 unsigned target_index, in assign_attribute_or_color_locations() argument
2861 unsigned max_index = (target_index == MESA_SHADER_VERTEX) ? in assign_attribute_or_color_locations()
2862 constants->Program[target_index].MaxAttribs : in assign_attribute_or_color_locations()
2870 assert((target_index == MESA_SHADER_VERTEX) in assign_attribute_or_color_locations()
2871 || (target_index == MESA_SHADER_FRAGMENT)); in assign_attribute_or_color_locations()
2873 gl_linked_shader *const sh = prog->_LinkedShaders[target_index]; in assign_attribute_or_color_locations()
2893 const int generic_base = (target_index == MESA_SHADER_VERTEX) in assign_attribute_or_color_locations()
2897 (target_index == MESA_SHADER_VERTEX) in assign_attribute_or_color_locations()
2946 } else if (target_index == MESA_SHADER_VERTEX) { in assign_attribute_or_color_locations()
2954 } else if (target_index == MESA_SHADER_FRAGMENT) { in assign_attribute_or_color_locations()
[all …]
/third_party/mesa3d/src/mesa/main/
Dtexstate.c659 gl_texture_index target_index; in update_single_program_texture() local
676 target_index = ffs(prog->TexturesUsed[unit]) - 1; in update_single_program_texture()
677 texObj = texUnit->CurrentTex[target_index]; in update_single_program_texture()
705 texObj = _mesa_get_fallback_texture(ctx, target_index); in update_single_program_texture()
867 const gl_texture_index target_index = ffs(prog->TexturesUsed[unit]) - 1; in fix_missing_textures_for_atifs() local
871 _mesa_get_fallback_texture(ctx, target_index); in fix_missing_textures_for_atifs()
/third_party/spirv-tools/source/val/
Dvalidate_memory.cpp1078 const auto target_index = 0; in ValidateCopyMemory() local
1079 const auto target_id = inst->GetOperandAs<uint32_t>(target_index); in ValidateCopyMemory()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_memory.cpp1084 const auto target_index = 0; in ValidateCopyMemory() local
1085 const auto target_id = inst->GetOperandAs<uint32_t>(target_index); in ValidateCopyMemory()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_memory.cpp1084 const auto target_index = 0; in ValidateCopyMemory() local
1085 const auto target_id = inst->GetOperandAs<uint32_t>(target_index); in ValidateCopyMemory()