/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/misc/sgi-gru/ |
H A D | grumain.c | 88 gru->gs_asid_gen++; in gru_wrap_asid() 103 gid = gru->gs_gid; in gru_reset_asid_limit() 106 if (!gru->gs_gts[i] || is_kernel_context(gru->gs_gts[i])) in gru_reset_asid_limit() 110 gru->gs_gid, gru->gs_gts[i], gru->gs_gts[i]->ts_gms, in gru_reset_asid_limit() 790 gru = next_gru(blade, gru); in gru_steal_context() 794 gru0 = gru; in gru_steal_context() 822 gru = next_gru(blade, gru); in gru_steal_context() 865 gru = NULL; in gru_assign_gru_context() 873 gru = grux; in gru_assign_gru_context() 880 if (gru) { in gru_assign_gru_context() [all …]
|
H A D | grutlbpurge.c | 51 n = GRU_NUM_TGH - gru->gs_tgh_first_remote; in get_off_blade_tgh() 53 n += gru->gs_tgh_first_remote; in get_off_blade_tgh() 63 *gru) in get_lock_tgh_handle() 70 n = get_on_blade_tgh(gru); in get_lock_tgh_handle() 72 n = get_off_blade_tgh(gru); in get_lock_tgh_handle() 73 tgh = get_tgh_by_index(gru, n); in get_lock_tgh_handle() 148 struct gru_state *gru; in gru_flush_tlb_range() local 167 gru = GID_TO_GRU(gid); in gru_flush_tlb_range() 176 tgh = get_lock_tgh_handle(gru); in gru_flush_tlb_range() 201 tgh = get_lock_tgh_handle(gru); in gru_flush_all_tlb() [all …]
|
H A D | grufile.c | 233 spin_lock_init(&gru->gs_lock); in gru_init_chiplet() 235 gru->gs_gru_base_paddr = paddr; in gru_init_chiplet() 236 gru->gs_gru_base_vaddr = vaddr; in gru_init_chiplet() 239 gru->gs_blade_id = blade_id; in gru_init_chiplet() 240 gru->gs_chiplet_id = chiplet_id; in gru_init_chiplet() 243 gru->gs_asid_limit = MAX_ASID; in gru_init_chiplet() 244 gru_tgh_flush_init(gru); in gru_init_chiplet() 248 blade_id, gru->gs_gid, gru->gs_gru_base_vaddr, in gru_init_chiplet() 249 gru->gs_gru_base_paddr); in gru_init_chiplet() 258 struct gru_state *gru; in gru_init_tables() local [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/misc/sgi-gru/ |
H A D | grumain.c | 88 gru->gs_asid_gen++; in gru_wrap_asid() 103 gid = gru->gs_gid; in gru_reset_asid_limit() 106 if (!gru->gs_gts[i] || is_kernel_context(gru->gs_gts[i])) in gru_reset_asid_limit() 110 gru->gs_gid, gru->gs_gts[i], gru->gs_gts[i]->ts_gms, in gru_reset_asid_limit() 790 gru = next_gru(blade, gru); in gru_steal_context() 794 gru0 = gru; in gru_steal_context() 822 gru = next_gru(blade, gru); in gru_steal_context() 865 gru = NULL; in gru_assign_gru_context() 873 gru = grux; in gru_assign_gru_context() 880 if (gru) { in gru_assign_gru_context() [all …]
|
H A D | grutlbpurge.c | 51 n = GRU_NUM_TGH - gru->gs_tgh_first_remote; in get_off_blade_tgh() 53 n += gru->gs_tgh_first_remote; in get_off_blade_tgh() 63 *gru) in get_lock_tgh_handle() 70 n = get_on_blade_tgh(gru); in get_lock_tgh_handle() 72 n = get_off_blade_tgh(gru); in get_lock_tgh_handle() 73 tgh = get_tgh_by_index(gru, n); in get_lock_tgh_handle() 148 struct gru_state *gru; in gru_flush_tlb_range() local 167 gru = GID_TO_GRU(gid); in gru_flush_tlb_range() 176 tgh = get_lock_tgh_handle(gru); in gru_flush_tlb_range() 201 tgh = get_lock_tgh_handle(gru); in gru_flush_all_tlb() [all …]
|
H A D | grufile.c | 233 spin_lock_init(&gru->gs_lock); in gru_init_chiplet() 235 gru->gs_gru_base_paddr = paddr; in gru_init_chiplet() 236 gru->gs_gru_base_vaddr = vaddr; in gru_init_chiplet() 239 gru->gs_blade_id = blade_id; in gru_init_chiplet() 240 gru->gs_chiplet_id = chiplet_id; in gru_init_chiplet() 243 gru->gs_asid_limit = MAX_ASID; in gru_init_chiplet() 244 gru_tgh_flush_init(gru); in gru_init_chiplet() 248 blade_id, gru->gs_gid, gru->gs_gru_base_vaddr, in gru_init_chiplet() 249 gru->gs_gru_base_paddr); in gru_init_chiplet() 258 struct gru_state *gru; in gru_init_tables() local [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/misc/sgi-gru/ |
H A D | grumain.c | 88 gru->gs_asid_gen++; in gru_wrap_asid() 103 gid = gru->gs_gid; in gru_reset_asid_limit() 106 if (!gru->gs_gts[i] || is_kernel_context(gru->gs_gts[i])) in gru_reset_asid_limit() 110 gru->gs_gid, gru->gs_gts[i], gru->gs_gts[i]->ts_gms, in gru_reset_asid_limit() 790 gru = next_gru(blade, gru); in gru_steal_context() 794 gru0 = gru; in gru_steal_context() 822 gru = next_gru(blade, gru); in gru_steal_context() 865 gru = NULL; in gru_assign_gru_context() 873 gru = grux; in gru_assign_gru_context() 880 if (gru) { in gru_assign_gru_context() [all …]
|
H A D | grutlbpurge.c | 51 n = GRU_NUM_TGH - gru->gs_tgh_first_remote; in get_off_blade_tgh() 53 n += gru->gs_tgh_first_remote; in get_off_blade_tgh() 63 *gru) in get_lock_tgh_handle() 70 n = get_on_blade_tgh(gru); in get_lock_tgh_handle() 72 n = get_off_blade_tgh(gru); in get_lock_tgh_handle() 73 tgh = get_tgh_by_index(gru, n); in get_lock_tgh_handle() 148 struct gru_state *gru; in gru_flush_tlb_range() local 167 gru = GID_TO_GRU(gid); in gru_flush_tlb_range() 176 tgh = get_lock_tgh_handle(gru); in gru_flush_tlb_range() 201 tgh = get_lock_tgh_handle(gru); in gru_flush_all_tlb() [all …]
|
H A D | grufile.c | 233 spin_lock_init(&gru->gs_lock); in gru_init_chiplet() 235 gru->gs_gru_base_paddr = paddr; in gru_init_chiplet() 236 gru->gs_gru_base_vaddr = vaddr; in gru_init_chiplet() 239 gru->gs_blade_id = blade_id; in gru_init_chiplet() 240 gru->gs_chiplet_id = chiplet_id; in gru_init_chiplet() 243 gru->gs_asid_limit = MAX_ASID; in gru_init_chiplet() 244 gru_tgh_flush_init(gru); in gru_init_chiplet() 248 blade_id, gru->gs_gid, gru->gs_gru_base_vaddr, in gru_init_chiplet() 249 gru->gs_gru_base_paddr); in gru_init_chiplet() 258 struct gru_state *gru; in gru_init_tables() local [all …]
|
/dports/net-im/tg_owt/tg_owt-d578c76/src/modules/audio_processing/agc2/rnn_vad/ |
H A D | rnn_gru_unittest.cc | 30 GatedRecurrentLayer& gru, in TestGatedRecurrentLayer() argument 34 rtc::dchecked_cast<int>(input_sequence.size()), gru.input_size()); in TestGatedRecurrentLayer() 36 rtc::dchecked_cast<int>(expected_output_sequence.size()), gru.size()); in TestGatedRecurrentLayer() 40 gru.Reset(); in TestGatedRecurrentLayer() 43 gru.ComputeOutput( in TestGatedRecurrentLayer() 44 input_sequence.subview(i * gru.input_size(), gru.input_size())); in TestGatedRecurrentLayer() 46 expected_output_sequence.subview(i * gru.size(), gru.size()); in TestGatedRecurrentLayer() 47 ExpectNearAbsolute(expected_output, gru, 3e-6f); in TestGatedRecurrentLayer() 132 GatedRecurrentLayer gru(kInputLayerOutputSize, kHiddenLayerOutputSize, in TEST_P() local 149 gru.ComputeOutput( in TEST_P() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/modules/audio_processing/agc2/rnn_vad/ |
H A D | rnn_unittest.cc | 41 GatedRecurrentLayer* gru, in TestGatedRecurrentLayer() argument 44 RTC_CHECK(gru); in TestGatedRecurrentLayer() 45 auto gru_output_view = gru->GetOutput(); in TestGatedRecurrentLayer() 53 gru->Reset(); in TestGatedRecurrentLayer() 56 gru->ComputeOutput( in TestGatedRecurrentLayer() 57 input_sequence.subview(i * gru->input_size(), gru->input_size())); in TestGatedRecurrentLayer() 59 i * gru->output_size(), gru->output_size()); in TestGatedRecurrentLayer() 248 for (auto& gru : implementations) { in TEST() local 250 gru->Reset(); in TEST() 254 gru->ComputeOutput( in TEST() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/modules/audio_processing/agc2/rnn_vad/ |
H A D | rnn_unittest.cc | 42 GatedRecurrentLayer* gru, in TestGatedRecurrentLayer() argument 45 RTC_CHECK(gru); in TestGatedRecurrentLayer() 51 gru->output_size()); in TestGatedRecurrentLayer() 55 gru->Reset(); in TestGatedRecurrentLayer() 58 gru->ComputeOutput( in TestGatedRecurrentLayer() 59 input_sequence.subview(i * gru->input_size(), gru->input_size())); in TestGatedRecurrentLayer() 61 i * gru->output_size(), gru->output_size()); in TestGatedRecurrentLayer() 250 for (auto& gru : implementations) { in TEST() local 252 gru->Reset(); in TEST() 256 gru->ComputeOutput( in TEST() [all …]
|
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/ |
H A D | rnn_unittest.cc | 41 GatedRecurrentLayer* gru, in TestGatedRecurrentLayer() argument 44 RTC_CHECK(gru); in TestGatedRecurrentLayer() 45 auto gru_output_view = gru->GetOutput(); in TestGatedRecurrentLayer() 53 gru->Reset(); in TestGatedRecurrentLayer() 56 gru->ComputeOutput( in TestGatedRecurrentLayer() 57 input_sequence.subview(i * gru->input_size(), gru->input_size())); in TestGatedRecurrentLayer() 59 i * gru->output_size(), gru->output_size()); in TestGatedRecurrentLayer() 248 for (auto& gru : implementations) { in TEST() local 250 gru->Reset(); in TEST() 254 gru->ComputeOutput( in TEST() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/media/libopus/src/ |
H A D | mlp.c | 97 void compute_gru(const GRULayer *gru, float *state, const float *input) in compute_gru() argument 105 M = gru->nb_inputs; in compute_gru() 106 N = gru->nb_neurons; in compute_gru() 111 float sum = gru->bias[i]; in compute_gru() 113 sum += gru->input_weights[j*stride + i]*input[j]; in compute_gru() 115 sum += gru->recurrent_weights[j*stride + i]*state[j]; in compute_gru() 121 float sum = gru->bias[N + i]; in compute_gru() 123 sum += gru->input_weights[N + j*stride + i]*input[j]; in compute_gru() 125 sum += gru->recurrent_weights[N + j*stride + i]*state[j]; in compute_gru() 131 float sum = gru->bias[2*N + i]; in compute_gru() [all …]
|
/dports/www/firefox/firefox-99.0/media/libopus/src/ |
H A D | mlp.c | 97 void compute_gru(const GRULayer *gru, float *state, const float *input) in compute_gru() argument 105 M = gru->nb_inputs; in compute_gru() 106 N = gru->nb_neurons; in compute_gru() 111 float sum = gru->bias[i]; in compute_gru() 113 sum += gru->input_weights[j*stride + i]*input[j]; in compute_gru() 115 sum += gru->recurrent_weights[j*stride + i]*state[j]; in compute_gru() 121 float sum = gru->bias[N + i]; in compute_gru() 123 sum += gru->input_weights[N + j*stride + i]*input[j]; in compute_gru() 125 sum += gru->recurrent_weights[N + j*stride + i]*state[j]; in compute_gru() 131 float sum = gru->bias[2*N + i]; in compute_gru() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/media/libopus/src/ |
H A D | mlp.c | 97 void compute_gru(const GRULayer *gru, float *state, const float *input) in compute_gru() argument 105 M = gru->nb_inputs; in compute_gru() 106 N = gru->nb_neurons; in compute_gru() 111 float sum = gru->bias[i]; in compute_gru() 113 sum += gru->input_weights[j*stride + i]*input[j]; in compute_gru() 115 sum += gru->recurrent_weights[j*stride + i]*state[j]; in compute_gru() 121 float sum = gru->bias[N + i]; in compute_gru() 123 sum += gru->input_weights[N + j*stride + i]*input[j]; in compute_gru() 125 sum += gru->recurrent_weights[N + j*stride + i]*state[j]; in compute_gru() 131 float sum = gru->bias[2*N + i]; in compute_gru() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/media/libopus/src/ |
H A D | mlp.c | 97 void compute_gru(const GRULayer *gru, float *state, const float *input) in compute_gru() argument 105 M = gru->nb_inputs; in compute_gru() 106 N = gru->nb_neurons; in compute_gru() 111 float sum = gru->bias[i]; in compute_gru() 113 sum += gru->input_weights[j*stride + i]*input[j]; in compute_gru() 115 sum += gru->recurrent_weights[j*stride + i]*state[j]; in compute_gru() 121 float sum = gru->bias[N + i]; in compute_gru() 123 sum += gru->input_weights[N + j*stride + i]*input[j]; in compute_gru() 125 sum += gru->recurrent_weights[N + j*stride + i]*state[j]; in compute_gru() 131 float sum = gru->bias[2*N + i]; in compute_gru() [all …]
|
/dports/audio/noise-suppression-for-voice-lv2/noise-suppression-for-voice-0.91-2-g6466b34/src/rnnoise/src/ |
H A D | rnn.c | 110 void compute_gru(const GRULayer *gru, float *state, const float *input) in compute_gru() argument 118 M = gru->nb_inputs; in compute_gru() 119 N = gru->nb_neurons; in compute_gru() 124 float sum = gru->bias[i]; in compute_gru() 126 sum += gru->input_weights[j*stride + i]*input[j]; in compute_gru() 128 sum += gru->recurrent_weights[j*stride + i]*state[j]; in compute_gru() 134 float sum = gru->bias[N + i]; in compute_gru() 136 sum += gru->input_weights[N + j*stride + i]*input[j]; in compute_gru() 138 sum += gru->recurrent_weights[N + j*stride + i]*state[j]; in compute_gru() 144 float sum = gru->bias[2*N + i]; in compute_gru() [all …]
|
/dports/audio/mumble/mumble-1.3.3/3rdparty/rnnoise-src/src/ |
H A D | rnn.c | 109 void compute_gru(const GRULayer *gru, float *state, const float *input) in compute_gru() argument 117 M = gru->nb_inputs; in compute_gru() 118 N = gru->nb_neurons; in compute_gru() 123 float sum = gru->bias[i]; in compute_gru() 125 sum += gru->input_weights[j*stride + i]*input[j]; in compute_gru() 127 sum += gru->recurrent_weights[j*stride + i]*state[j]; in compute_gru() 133 float sum = gru->bias[N + i]; in compute_gru() 135 sum += gru->input_weights[N + j*stride + i]*input[j]; in compute_gru() 137 sum += gru->recurrent_weights[N + j*stride + i]*state[j]; in compute_gru() 143 float sum = gru->bias[2*N + i]; in compute_gru() [all …]
|
/dports/audio/rnnoise/rnnoise-1cbdbcf/src/ |
H A D | rnn.c | 109 void compute_gru(const GRULayer *gru, float *state, const float *input) in celt_fir5() 117 M = gru->nb_inputs; in celt_fir5() 118 N = gru->nb_neurons; in celt_fir5() 123 float sum = gru->bias[i]; in celt_fir5() 125 sum += gru->input_weights[j*stride + i]*input[j]; in celt_fir5() 127 sum += gru->recurrent_weights[j*stride + i]*state[j]; in celt_fir5() 133 float sum = gru->bias[N + i]; in celt_fir5() 135 sum += gru->input_weights[N + j*stride + i]*input[j]; in celt_fir5() 137 sum += gru->recurrent_weights[N + j*stride + i]*state[j]; in celt_fir5() 143 float sum = gru->bias[2*N + i]; in celt_fir5() [all …]
|
/dports/audio/rnnoise-nu/rnnoise-nu-2626930/src/ |
H A D | rnn.c | 109 void compute_gru(const GRULayer *gru, float *state, const float *input) 117 M = gru->nb_inputs; 118 N = gru->nb_neurons; 123 float sum = gru->bias[i]; 125 sum += gru->input_weights[j*stride + i]*input[j]; 127 sum += gru->recurrent_weights[j*stride + i]*state[j]; 133 float sum = gru->bias[N + i]; 135 sum += gru->input_weights[N + j*stride + i]*input[j]; 137 sum += gru->recurrent_weights[N + j*stride + i]*state[j]; 143 float sum = gru->bias[2*N + i]; [all …]
|
/dports/audio/speech-denoiser-lv2/speech-denoiser-04cfba9/rnnoise/src/ |
H A D | rnn.c | 109 void compute_gru(const GRULayer *gru, float *state, const float *input) in compute_gru() argument 117 M = gru->nb_inputs; in compute_gru() 118 N = gru->nb_neurons; in compute_gru() 123 float sum = gru->bias[i]; in compute_gru() 125 sum += gru->input_weights[j*stride + i]*input[j]; in compute_gru() 127 sum += gru->recurrent_weights[j*stride + i]*state[j]; in compute_gru() 133 float sum = gru->bias[N + i]; in compute_gru() 135 sum += gru->input_weights[N + j*stride + i]*input[j]; in compute_gru() 137 sum += gru->recurrent_weights[N + j*stride + i]*state[j]; in compute_gru() 143 float sum = gru->bias[2*N + i]; in compute_gru() [all …]
|
/dports/multimedia/obs-studio/obs-studio-27.1.3/plugins/obs-filters/rnnoise/src/ |
H A D | rnn.c | 117 M = gru->nb_inputs; in compute_gru() 118 N = gru->nb_neurons; in compute_gru() 123 float sum = gru->bias[i]; in compute_gru() 125 sum += gru->input_weights[j*stride + i]*input[j]; in compute_gru() 127 sum += gru->recurrent_weights[j*stride + i]*state[j]; in compute_gru() 133 float sum = gru->bias[N + i]; in compute_gru() 135 sum += gru->input_weights[N + j*stride + i]*input[j]; in compute_gru() 137 sum += gru->recurrent_weights[N + j*stride + i]*state[j]; in compute_gru() 143 float sum = gru->bias[2*N + i]; in compute_gru() 145 sum += gru->input_weights[2*N + j*stride + i]*input[j]; in compute_gru() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/opus/src/src/ |
H A D | mlp.c | 113 M = gru->nb_inputs; in compute_gru() 114 N = gru->nb_neurons; in compute_gru() 118 z[i] = gru->bias[i]; in compute_gru() 119 gemm_accum(z, gru->input_weights, N, M, stride, input); in compute_gru() 120 gemm_accum(z, gru->recurrent_weights, N, N, stride, state); in compute_gru() 126 r[i] = gru->bias[N + i]; in compute_gru() 127 gemm_accum(r, &gru->input_weights[N], N, M, stride, input); in compute_gru() 128 gemm_accum(r, &gru->recurrent_weights[N], N, N, stride, state); in compute_gru() 134 h[i] = gru->bias[2*N + i]; in compute_gru() 137 gemm_accum(h, &gru->input_weights[2*N], N, M, stride, input); in compute_gru() [all …]
|
/dports/games/emptyepsilon/SeriousProton-EE-2021.06.23/src/libopus/src/ |
H A D | mlp.c | 113 M = gru->nb_inputs; in compute_gru() 114 N = gru->nb_neurons; in compute_gru() 118 z[i] = gru->bias[i]; in compute_gru() 119 gemm_accum(z, gru->input_weights, N, M, stride, input); in compute_gru() 120 gemm_accum(z, gru->recurrent_weights, N, N, stride, state); in compute_gru() 126 r[i] = gru->bias[N + i]; in compute_gru() 127 gemm_accum(r, &gru->input_weights[N], N, M, stride, input); in compute_gru() 128 gemm_accum(r, &gru->recurrent_weights[N], N, N, stride, state); in compute_gru() 134 h[i] = gru->bias[2*N + i]; in compute_gru() 137 gemm_accum(h, &gru->input_weights[2*N], N, M, stride, input); in compute_gru() [all …]
|