/third_party/ffmpeg/libavcodec/ |
D | msvideo1.c | 40 if ((stream_ptr + n) > s->size ) { \ 42 stream_ptr + n, s->size); \ 97 int stream_ptr; in msvideo1_decode_8bit() local 105 stream_ptr = 0; in msvideo1_decode_8bit() 128 byte_a = s->buf[stream_ptr++]; in msvideo1_decode_8bit() 129 byte_b = s->buf[stream_ptr++]; in msvideo1_decode_8bit() 142 colors[0] = s->buf[stream_ptr++]; in msvideo1_decode_8bit() 143 colors[1] = s->buf[stream_ptr++]; in msvideo1_decode_8bit() 155 memcpy(colors, &s->buf[stream_ptr], 8); in msvideo1_decode_8bit() 156 stream_ptr += 8; in msvideo1_decode_8bit() [all …]
|
D | interplayvideo.c | 69 GetByteContext stream_ptr, mv_ptr; member 122 B = bytestream2_get_byte(&s->stream_ptr); in ipvideo_decode_block_opcode_0x2() 148 B = bytestream2_get_byte(&s->stream_ptr); in ipvideo_decode_block_opcode_0x3() 172 B = bytestream2_get_byte(&s->stream_ptr); in ipvideo_decode_block_opcode_0x4() 192 x = bytestream2_get_byte(&s->stream_ptr); in ipvideo_decode_block_opcode_0x5() 193 y = bytestream2_get_byte(&s->stream_ptr); in ipvideo_decode_block_opcode_0x5() 214 if (bytestream2_get_bytes_left(&s->stream_ptr) < 4) { in ipvideo_decode_block_opcode_0x7() 220 P[0] = bytestream2_get_byte(&s->stream_ptr); in ipvideo_decode_block_opcode_0x7() 221 P[1] = bytestream2_get_byte(&s->stream_ptr); in ipvideo_decode_block_opcode_0x7() 227 flags = bytestream2_get_byte(&s->stream_ptr) | 0x100; in ipvideo_decode_block_opcode_0x7() [all …]
|
D | cyuv.c | 81 int stream_ptr; in cyuv_decode_frame() local 106 stream_ptr = 48; in cyuv_decode_frame() 118 for (stream_ptr = 0; stream_ptr < rawsize; stream_ptr += linesize) { in cyuv_decode_frame() 120 memcpy(y_plane, buf+stream_ptr, linesize); in cyuv_decode_frame() 132 cur_byte = buf[stream_ptr++]; in cyuv_decode_frame() 136 cur_byte = buf[stream_ptr++]; in cyuv_decode_frame() 141 cur_byte = buf[stream_ptr++]; in cyuv_decode_frame() 151 cur_byte = buf[stream_ptr++]; in cyuv_decode_frame() 157 cur_byte = buf[stream_ptr++]; in cyuv_decode_frame() 163 cur_byte = buf[stream_ptr++]; in cyuv_decode_frame()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/math/ |
D | unary_op_gpu_kernel.h | 86 const std::vector<AddressPtr> &outputs, void *stream_ptr) override { in Launch() argument 95 …(input_addr, output_addr, inputs[0]->size / sizeof(T), reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 99 …(input_addr, output_addr, inputs[0]->size / sizeof(T), reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 103 …(input_addr, output_addr, inputs[0]->size / sizeof(T), reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 107 …(input_addr, output_addr, inputs[0]->size / sizeof(T), reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 111 …(input_addr, output_addr, inputs[0]->size / sizeof(T), reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 115 …(input_addr, output_addr, inputs[0]->size / sizeof(T), reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 119 …(input_addr, output_addr, inputs[0]->size / sizeof(T), reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 123 …(input_addr, output_addr, inputs[0]->size / sizeof(T), reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 127 …(input_addr, output_addr, inputs[0]->size / sizeof(T), reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() [all …]
|
D | unary_op_grad_gpu_kernel.h | 64 const std::vector<AddressPtr> &outputs, void *stream_ptr) override { in Launch() argument 76 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 81 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 86 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 91 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 96 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 101 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 106 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 111 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch()
|
D | cholesky_trsm_solve_gpu_kernel.h | 54 const std::vector<AddressPtr> &outputs, void *stream_ptr) override { in Launch() argument 59 LaunchNonSplitMatrix(inputs, workspace, outputs, stream_ptr); in Launch() 61 LaunchSplitMatrix(inputs, workspace, outputs, stream_ptr); in Launch() 129 const std::vector<AddressPtr> &outputs, void *stream_ptr) { in LaunchNonSplitMatrix() argument 141 cudaMemcpyHostToDevice, reinterpret_cast<cudaStream_t>(stream_ptr)), in LaunchNonSplitMatrix() 146 … cudaMemcpyHostToDevice, reinterpret_cast<cudaStream_t>(stream_ptr)), in LaunchNonSplitMatrix() 150 … cudaMemcpyHostToDevice, reinterpret_cast<cudaStream_t>(stream_ptr)), in LaunchNonSplitMatrix() 163 const std::vector<AddressPtr> &outputs, void *stream_ptr) { in LaunchSplitMatrix() argument 174 …h_ * split_dim_ * split_dim_, split_dim_, output_addr, reinterpret_cast<cudaStream_t>(stream_ptr)); in LaunchSplitMatrix() 176 reinterpret_cast<cudaStream_t>(stream_ptr)); in LaunchSplitMatrix() [all …]
|
D | cholesky_solve_gpu_kernel.h | 55 const std::vector<AddressPtr> &outputs, void *stream_ptr) override { in Launch() argument 71 cudaMemcpyHostToDevice, reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 76 … cudaMemcpyHostToDevice, reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 80 … cudaMemcpyHostToDevice, reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 86 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 94 …h_ * split_dim_ * split_dim_, split_dim_, output_addr, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 96 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 99 … cudaMemcpyHostToDevice, reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 103 … cudaMemcpyHostToDevice, reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 109 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch()
|
D | float_status_gpu_kernel.h | 44 const std::vector<AddressPtr> &outputs, void *stream_ptr) override { in Launch() argument 53 …eArray(outputs[0]->size / sizeof(float), output, 0.0f, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 54 …CalFloatStatus(input_size_ / sizeof(T), input, output, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 59 … CalIsInf(input_size_ / sizeof(T), input, output, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 64 … CalIsNan(input_size_ / sizeof(T), input, output, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 69 … CalIsFinite(input_size_ / sizeof(T), input, output, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/nccl/ |
D | nccl_collective_gpu_kernel.h | 54 const std::vector<AddressPtr> &outputs, void *stream_ptr) override { in Launch() argument 60 LaunchAllReduce(inputs, outputs, stream_ptr); in Launch() 64 LaunchAllGather(inputs, outputs, stream_ptr); in Launch() 68 LaunchReduceScatter(inputs, outputs, stream_ptr); in Launch() 72 LaunchBroadcast(inputs, outputs, stream_ptr); in Launch() 157 void *stream_ptr) { in LaunchAllReduce() argument 160 cudaStream_t stream = comm_stream_ ? comm_stream_ : reinterpret_cast<cudaStream_t>(stream_ptr); in LaunchAllReduce() 170 void *stream_ptr) { in LaunchAllGather() argument 173 cudaStream_t stream = comm_stream_ ? comm_stream_ : reinterpret_cast<cudaStream_t>(stream_ptr); in LaunchAllGather() 183 void *stream_ptr) { in LaunchReduceScatter() argument [all …]
|
D | sync_batch_norm_gpu_kernel.h | 43 const std::vector<AddressPtr> &outputs, void *stream_ptr) override { in Launch() argument 65 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 67 LaunchAllGather(means_local, means_global, stream_ptr); in Launch() 68 LaunchAllGather(invstds_local, invstds_global, stream_ptr); in Launch() 69 LaunchAllGather(counts_local, counts_global, stream_ptr); in Launch() 74 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 76 epsilon_, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 209 void LaunchAllGather(gather_type *input_addr, gather_type *output_addr, void *stream_ptr) { in LaunchAllGather() argument 210 cudaStream_t stream = comm_stream_ ? comm_stream_ : reinterpret_cast<cudaStream_t>(stream_ptr); in LaunchAllGather()
|
/third_party/boost/tools/quickbook/src/ |
D | collector.cpp | 16 , stream_ptr( in string_stream() 22 : buffer_ptr(other.buffer_ptr), stream_ptr(other.stream_ptr) in string_stream() 29 stream_ptr = other.stream_ptr; in operator =()
|
D | collector.hpp | 32 stream_ptr->flush(); in str() 36 std::ostream& get() const { return *stream_ptr.get(); } in get() 42 stream_ptr->flush(); in swap() 48 stream_ptr->flush(); in append() 54 boost::shared_ptr<ostream> stream_ptr; member
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/ |
D | sort_gpu_kernel.h | 44 const std::vector<AddressPtr> &outputs, void *stream_ptr) override { in Launch() argument 61 … cudaMemcpyHostToDevice, reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 66 reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 80 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 87 intermediate_output_device, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 93 …ediate_output_device, temp_indices_device, topk_init_, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 98 … cudaMemcpyHostToDevice, reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 103 intermediate_output_device, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 107 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 113 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch()
|
D | in_top_k_gpu_kernel.h | 42 const std::vector<AddressPtr> &outputs, void *stream_ptr) override { in Launch() argument 53 …e_, cudaMemsetAsync(output_device, false, outer_size_, reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 61 …de_, cudaMemsetAsync(output_device, true, outer_size_, reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 78 …input_size_, predictions_device, casted_float32_input, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 81 top_k_indices_device, top_k_init, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 84 input_shape_[1], k_, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 88 top_k_indices_device, top_k_init_, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 91 input_shape_[1], k_, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch()
|
D | topk_gpu_kernel.h | 41 const std::vector<AddressPtr> &outputs, void *stream_ptr) override { in Launch() argument 53 …cpyAsync(&k_cut, k, sizeof(S), cudaMemcpyDeviceToHost, reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 64 …size_ * inner_size_, input_addr, casted_float32_input, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 68 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 71 …_size_ * k_, casted_float32_top_k_output, output_addr, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 76 …cpyAsync(&k_cut, k, sizeof(S), cudaMemcpyDeviceToHost, reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 80 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch()
|
D | slice_gpu_kernel.h | 39 const std::vector<AddressPtr> &outputs, void *stream_ptr) override { in Launch() argument 50 …l(begin_[0], size_[0], input_shape_[0], input, output, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 54 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 58 input_shape_[2], input, output, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 63 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 68 input, output, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 73 … input_shape_[4], input_shape_[5], input, output, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 79 output, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch()
|
D | dynamic_range_gpu_kernel.h | 41 const std::vector<AddressPtr> &outputs, void *stream_ptr) override { in Launch() argument 49 stream_ptr_ = stream_ptr; in Launch() 53 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 59 … cudaMemcpyDeviceToHost, reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 66 … cudaMemcpyDeviceToHost, reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 73 … error_code_device_address, max_output_length_, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch()
|
D | transpose_gpu_kernel.h | 39 const std::vector<AddressPtr> &outputs, void *stream_ptr) override { in Launch() argument 49 reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 53 reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 63 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 68 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 71 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/quant/ |
D | fake_quant_perchannel_gpu_kernel.cc | 117 void *stream_ptr) { in CalFakeQuantize() argument 119 symmetric_, reinterpret_cast<cudaStream_t>(stream_ptr)); in CalFakeQuantize() 121 reinterpret_cast<cudaStream_t>(stream_ptr)); in CalFakeQuantize() 126 … const std::vector<AddressPtr> &outputs, void *stream_ptr) { in Launch() argument 141 CalFakeQuantize(input, output, input_min, input_max, nudge_min, nudge_max, scale, stream_ptr); in Launch() 145 reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 150 CalFakeQuantize(input, output, input_min, input_max, nudge_min, nudge_max, scale, stream_ptr); in Launch()
|
D | fake_learned_scale_quant_perlayer_gpu_kernel.cc | 78 … const std::vector<AddressPtr> &outputs, void *stream_ptr) { in Launch() argument 98 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 100 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 104 reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 111 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 113 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch()
|
D | fake_learned_scale_quant_perchannel_gpu_kernel.cc | 87 … const std::vector<AddressPtr> &outputs, void *stream_ptr) { in Launch() argument 107 num_channels_, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 109 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 113 reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 120 num_channels_, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 122 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch()
|
D | fake_learned_scale_quant_perlayer_grad_gpu_kernel.cc | 83 … const std::vector<AddressPtr> &outputs, void *stream_ptr) { in Launch() argument 107 reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 110 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 112 neg_trunc_, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 116 reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 120 reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch()
|
D | fake_learned_scale_quant_perchannel_grad_gpu_kernel.cc | 87 … const std::vector<AddressPtr> &outputs, void *stream_ptr) { in Launch() argument 112 … cudaMemcpyHostToDevice, reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 115 num_channels_, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 117 … neg_trunc_, num_channels_, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 121 … cudaMemcpyHostToDevice, reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 125 reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch()
|
D | fake_quant_perlayer_gpu_kernel.cc | 110 const std::vector<AddressPtr> &outputs, void *stream_ptr) { in Launch() argument 127 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 129 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 133 reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 140 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 142 reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/nn/ |
D | local_response_norm_grad_gpu_kernel.h | 42 const std::vector<AddressPtr> &outputs, void *stream_ptr) override { in Launch() argument 71 reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 75 … cudaMemcpyHostToDevice, reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 79 reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 83 reinterpret_cast<cudaStream_t>(stream_ptr)), in Launch() 87 ws_dy, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 89 ws_x, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 91 ws_y, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 94 … num_elements_, ws_scale, ws_dx, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch() 97 ws_to_nchw_axis, dx, reinterpret_cast<cudaStream_t>(stream_ptr)); in Launch()
|