/dports/cad/calculix-ccx/CalculiX/ccx_2.18/src/ |
H A D | calcmechstrain.f | 54 elineng(4)=wkl(1,2)+wkl(2,1) 55 elineng(5)=wkl(1,3)+wkl(3,1) 64 & (wkl(1,1)**2+wkl(2,1)**2+wkl(3,1)**2)/2.d0 66 & (wkl(1,2)**2+wkl(2,2)**2+wkl(3,2)**2)/2.d0 68 & (wkl(1,3)**2+wkl(2,3)**2+wkl(3,3)**2)/2.d0 69 elineng(4)=elineng(4)+wkl(1,1)*wkl(1,2)+wkl(2,1)*wkl(2,2)+ 70 & wkl(3,1)*wkl(3,2) 71 elineng(5)=elineng(5)+wkl(1,1)*wkl(1,3)+wkl(2,1)*wkl(2,3)+ 72 & wkl(3,1)*wkl(3,3) 73 elineng(6)=elineng(6)+wkl(1,2)*wkl(1,3)+wkl(2,2)*wkl(2,3)+ [all …]
|
/dports/misc/tvm/incubator-tvm-0.6.1/topi/python/topi/generic/ |
H A D | conv2d.py | 40 HPAD, WPAD = wkl.hpad, wkl.wpad 41 HSTR, WSTR = wkl.hstride, wkl.wstride 42 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 44 assert wkl.out_filter % int32_lanes == 0, \ 52 if wkl.in_filter % bn == 0: 83 HPAD, WPAD = wkl.hpad, wkl.wpad 84 HSTR, WSTR = wkl.hstride, wkl.wstride 85 out_height = (wkl.height + 2 * HPAD - wkl.hkernel) // HSTR + 1 86 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 88 assert wkl.out_filter % int32_lanes == 0, \ [all …]
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/topi/python/topi/generic/ |
H A D | conv2d.py | 40 HPAD, WPAD = wkl.hpad, wkl.wpad 41 HSTR, WSTR = wkl.hstride, wkl.wstride 42 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 44 assert wkl.out_filter % int32_lanes == 0, \ 52 if wkl.in_filter % bn == 0: 83 HPAD, WPAD = wkl.hpad, wkl.wpad 84 HSTR, WSTR = wkl.hstride, wkl.wstride 85 out_height = (wkl.height + 2 * HPAD - wkl.hkernel) // HSTR + 1 86 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 88 assert wkl.out_filter % int32_lanes == 0, \ [all …]
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/python/tvm/topi/x86/ |
H A D | conv2d_avx_common.py | 28 def _fallback_schedule(cfg, wkl): argument 30 HPAD, WPAD = wkl.hpad, wkl.wpad 31 HSTR, WSTR = wkl.hstride, wkl.wstride 32 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 36 if wkl.out_filter % bn == 0: 42 if wkl.in_filter % bn == 0: 59 HPAD, WPAD = wkl.hpad, wkl.wpad 60 HSTR, WSTR = wkl.hstride, wkl.wstride 61 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 68 if wkl.in_filter % bn == 0: [all …]
|
H A D | conv2d_avx_1x1.py | 32 def _fallback_schedule(cfg, wkl): argument 34 HPAD, WPAD = wkl.hpad, wkl.wpad 35 HSTR, WSTR = wkl.hstride, wkl.wstride 36 out_height = (wkl.height + 2 * HPAD - wkl.hkernel) // HSTR + 1 37 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 41 if wkl.out_filter % bn == 0: 47 if wkl.in_filter % bn == 0: 55 cfg["tile_ic"] = SplitEntity([wkl.in_filter // ic_bn, ic_bn]) 56 cfg["tile_oc"] = SplitEntity([wkl.out_filter // oc_bn, oc_bn]) 60 raise ValueError("cannot decide default schedule for workload: {}".format(wkl))
|
H A D | depthwise_conv2d.py | 33 def _fallback_schedule(cfg, wkl): argument 45 HPAD, WPAD = wkl.hpad, wkl.wpad 46 HSTR, WSTR = wkl.hstride, wkl.wstride 47 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 51 if wkl.out_filter % bn == 0: 57 if wkl.in_filter % bn == 0: 67 cfg["tile_ic"] = SplitEntity([wkl.in_filter // ic_bn, ic_bn]) 68 cfg["tile_oc"] = SplitEntity([wkl.out_filter // oc_bn, oc_bn]) 161 wkl = _get_workload( 171 _fallback_schedule(cfg, wkl)
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/platform/chrome/wilco_ec/ |
H A D | keyboard_leds.c | 168 struct wilco_keyboard_leds *wkl = in wilco_keyboard_leds_set() local 170 return set_kbbl(wkl->ec, brightness); in wilco_keyboard_leds_set() 175 struct wilco_keyboard_leds *wkl; in wilco_keyboard_leds_init() local 188 wkl = devm_kzalloc(ec->dev, sizeof(*wkl), GFP_KERNEL); in wilco_keyboard_leds_init() 189 if (!wkl) in wilco_keyboard_leds_init() 192 wkl->ec = ec; in wilco_keyboard_leds_init() 193 wkl->keyboard.name = "platform::kbd_backlight"; in wilco_keyboard_leds_init() 194 wkl->keyboard.max_brightness = 100; in wilco_keyboard_leds_init() 195 wkl->keyboard.flags = LED_CORE_SUSPENDRESUME; in wilco_keyboard_leds_init() 200 wkl->keyboard.brightness = ret; in wilco_keyboard_leds_init() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/platform/chrome/wilco_ec/ |
H A D | keyboard_leds.c | 168 struct wilco_keyboard_leds *wkl = in wilco_keyboard_leds_set() local 170 return set_kbbl(wkl->ec, brightness); in wilco_keyboard_leds_set() 175 struct wilco_keyboard_leds *wkl; in wilco_keyboard_leds_init() local 188 wkl = devm_kzalloc(ec->dev, sizeof(*wkl), GFP_KERNEL); in wilco_keyboard_leds_init() 189 if (!wkl) in wilco_keyboard_leds_init() 192 wkl->ec = ec; in wilco_keyboard_leds_init() 193 wkl->keyboard.name = "platform::kbd_backlight"; in wilco_keyboard_leds_init() 194 wkl->keyboard.max_brightness = 100; in wilco_keyboard_leds_init() 195 wkl->keyboard.flags = LED_CORE_SUSPENDRESUME; in wilco_keyboard_leds_init() 200 wkl->keyboard.brightness = ret; in wilco_keyboard_leds_init() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/platform/chrome/wilco_ec/ |
H A D | keyboard_leds.c | 168 struct wilco_keyboard_leds *wkl = in wilco_keyboard_leds_set() local 170 return set_kbbl(wkl->ec, brightness); in wilco_keyboard_leds_set() 175 struct wilco_keyboard_leds *wkl; in wilco_keyboard_leds_init() local 188 wkl = devm_kzalloc(ec->dev, sizeof(*wkl), GFP_KERNEL); in wilco_keyboard_leds_init() 189 if (!wkl) in wilco_keyboard_leds_init() 192 wkl->ec = ec; in wilco_keyboard_leds_init() 193 wkl->keyboard.name = "platform::kbd_backlight"; in wilco_keyboard_leds_init() 194 wkl->keyboard.max_brightness = 100; in wilco_keyboard_leds_init() 195 wkl->keyboard.flags = LED_CORE_SUSPENDRESUME; in wilco_keyboard_leds_init() 200 wkl->keyboard.brightness = ret; in wilco_keyboard_leds_init() [all …]
|
/dports/misc/tvm/incubator-tvm-0.6.1/topi/python/topi/x86/ |
H A D | conv2d_avx_common.py | 29 def _fallback_schedule(cfg, wkl): argument 31 HPAD, WPAD = wkl.hpad, wkl.wpad 32 HSTR, WSTR = wkl.hstride, wkl.wstride 33 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 37 if wkl.out_filter % bn == 0: 43 if wkl.in_filter % bn == 0: 60 HPAD, WPAD = wkl.hpad, wkl.wpad 61 HSTR, WSTR = wkl.hstride, wkl.wstride 62 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 69 if wkl.in_filter % bn == 0: [all …]
|
H A D | depthwise_conv2d.py | 34 def _fallback_schedule(cfg, wkl): argument 46 HPAD, WPAD = wkl.hpad, wkl.wpad 47 HSTR, WSTR = wkl.hstride, wkl.wstride 48 out_height = (wkl.height + 2 * HPAD - wkl.hkernel) // HSTR + 1 49 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 53 if wkl.out_filter % bn == 0: 59 if wkl.in_filter % bn == 0: 69 cfg["tile_ic"] = SplitEntity([wkl.in_filter // ic_bn, ic_bn]) 70 cfg["tile_oc"] = SplitEntity([wkl.out_filter // oc_bn, oc_bn]) 103 wkl = _get_workload(tvm.placeholder((batch, in_channel, in_height, in_width), dtype=data.dtype), [all …]
|
H A D | conv2d_avx_1x1.py | 30 def _fallback_schedule(cfg, wkl): argument 32 HPAD, WPAD = wkl.hpad, wkl.wpad 33 HSTR, WSTR = wkl.hstride, wkl.wstride 34 out_height = (wkl.height + 2 * HPAD - wkl.hkernel) // HSTR + 1 35 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 39 if wkl.out_filter % bn == 0: 45 if wkl.in_filter % bn == 0: 53 cfg["tile_ic"] = SplitEntity([wkl.in_filter // ic_bn, ic_bn]) 54 cfg["tile_oc"] = SplitEntity([wkl.out_filter // oc_bn, oc_bn]) 58 raise ValueError("cannot decide default schedule for workload: {}".format(wkl))
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/topi/python/topi/x86/ |
H A D | conv2d_avx_common.py | 29 def _fallback_schedule(cfg, wkl): argument 31 HPAD, WPAD = wkl.hpad, wkl.wpad 32 HSTR, WSTR = wkl.hstride, wkl.wstride 33 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 37 if wkl.out_filter % bn == 0: 43 if wkl.in_filter % bn == 0: 60 HPAD, WPAD = wkl.hpad, wkl.wpad 61 HSTR, WSTR = wkl.hstride, wkl.wstride 62 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 69 if wkl.in_filter % bn == 0: [all …]
|
H A D | depthwise_conv2d.py | 34 def _fallback_schedule(cfg, wkl): argument 46 HPAD, WPAD = wkl.hpad, wkl.wpad 47 HSTR, WSTR = wkl.hstride, wkl.wstride 48 out_height = (wkl.height + 2 * HPAD - wkl.hkernel) // HSTR + 1 49 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 53 if wkl.out_filter % bn == 0: 59 if wkl.in_filter % bn == 0: 69 cfg["tile_ic"] = SplitEntity([wkl.in_filter // ic_bn, ic_bn]) 70 cfg["tile_oc"] = SplitEntity([wkl.out_filter // oc_bn, oc_bn]) 103 wkl = _get_workload(tvm.placeholder((batch, in_channel, in_height, in_width), dtype=data.dtype), [all …]
|
H A D | conv2d_avx_1x1.py | 30 def _fallback_schedule(cfg, wkl): argument 32 HPAD, WPAD = wkl.hpad, wkl.wpad 33 HSTR, WSTR = wkl.hstride, wkl.wstride 34 out_height = (wkl.height + 2 * HPAD - wkl.hkernel) // HSTR + 1 35 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 39 if wkl.out_filter % bn == 0: 45 if wkl.in_filter % bn == 0: 53 cfg["tile_ic"] = SplitEntity([wkl.in_filter // ic_bn, ic_bn]) 54 cfg["tile_oc"] = SplitEntity([wkl.out_filter // oc_bn, oc_bn]) 58 raise ValueError("cannot decide default schedule for workload: {}".format(wkl))
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/python/tvm/topi/generic/ |
H A D | conv2d.py | 41 HPAD, WPAD = wkl.hpad, wkl.wpad 42 HSTR, WSTR = wkl.hstride, wkl.wstride 43 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 46 wkl.out_filter, 50 wkl.in_filter, 88 HPAD, WPAD = wkl.hpad, wkl.wpad 89 HSTR, WSTR = wkl.hstride, wkl.wstride 90 out_height = (wkl.height + 2 * HPAD - wkl.hkernel) // HSTR + 1 91 out_width = (wkl.width + 2 * WPAD - wkl.wkernel) // WSTR + 1 94 wkl.out_filter, [all …]
|
/dports/math/libpgmath/flang-d07daf3/test/ncar_kernels/PSRAD_lrtm_Bangalore/src/ |
H A D | mo_rrtm_coeffs.f90 | 32 REAL(KIND=wp), intent(in) :: wkl(:,:,:) local 111 … coldry(1:kproma,1:klev), wkl(1:kproma,5,1:klev) > 0._wp) 146 coldry(1:kproma,1:klev)+wkl(1:kproma,1,1:klev))) 163 REAL(KIND=wp), intent(in) :: wkl(:,:,:) local 253 water(1:kproma,1:klev) = wkl(1:kproma,1,1:klev)/coldry(1:kproma,1:klev) 278 … coldry(1:kproma,1:klev), wkl(1:kproma,1,1:klev) > 0._wp) 280 … coldry(1:kproma,1:klev), wkl(1:kproma,2,1:klev) > 0._wp) 282 … coldry(1:kproma,1:klev), wkl(1:kproma,3,1:klev) > 0._wp) 284 … coldry(1:kproma,1:klev), wkl(1:kproma,4,1:klev) > 0._wp) 286 … coldry(1:kproma,1:klev), wkl(1:kproma,6,1:klev) > 0._wp) [all …]
|
/dports/math/libpgmath/flang-d07daf3/test/ncar_kernels/PSRAD_lrtm_codereview/src/ |
H A D | mo_rrtm_coeffs.f90 | 32 REAL(KIND=wp), intent(in) :: wkl(:,:,:) local 111 … coldry(1:kproma,1:klev), wkl(1:kproma,5,1:klev) > 0._wp) 146 coldry(1:kproma,1:klev)+wkl(1:kproma,1,1:klev))) 163 REAL(KIND=wp), intent(in) :: wkl(:,:,:) local 253 water(1:kproma,1:klev) = wkl(1:kproma,1,1:klev)/coldry(1:kproma,1:klev) 278 … coldry(1:kproma,1:klev), wkl(1:kproma,1,1:klev) > 0._wp) 280 … coldry(1:kproma,1:klev), wkl(1:kproma,2,1:klev) > 0._wp) 282 … coldry(1:kproma,1:klev), wkl(1:kproma,3,1:klev) > 0._wp) 284 … coldry(1:kproma,1:klev), wkl(1:kproma,4,1:klev) > 0._wp) 286 … coldry(1:kproma,1:klev), wkl(1:kproma,6,1:klev) > 0._wp) [all …]
|
/dports/math/libpgmath/flang-d07daf3/test/ncar_kernels/PSRAD_lrtm/src/ |
H A D | mo_rrtm_coeffs.f90 | 32 REAL(KIND=wp), intent(in) :: wkl(:,:,:) local 111 … coldry(1:kproma,1:klev), wkl(1:kproma,5,1:klev) > 0._wp) 146 coldry(1:kproma,1:klev)+wkl(1:kproma,1,1:klev))) 163 REAL(KIND=wp), intent(in) :: wkl(:,:,:) local 253 water(1:kproma,1:klev) = wkl(1:kproma,1,1:klev)/coldry(1:kproma,1:klev) 278 … coldry(1:kproma,1:klev), wkl(1:kproma,1,1:klev) > 0._wp) 280 … coldry(1:kproma,1:klev), wkl(1:kproma,2,1:klev) > 0._wp) 282 … coldry(1:kproma,1:klev), wkl(1:kproma,3,1:klev) > 0._wp) 284 … coldry(1:kproma,1:klev), wkl(1:kproma,4,1:klev) > 0._wp) 286 … coldry(1:kproma,1:klev), wkl(1:kproma,6,1:klev) > 0._wp) [all …]
|
/dports/math/libpgmath/flang-d07daf3/test/ncar_kernels/PORT_lw_rad/src/ |
H A D | rrtmg_lw_setcoef.F90 | 286 water = wkl(1,lay)/coldry(lay) 323 colh2o(lay) = 1.e-20_r8 * wkl(1,lay) 324 colco2(lay) = 1.e-20_r8 * wkl(2,lay) 325 colo3(lay) = 1.e-20_r8 * wkl(3,lay) 326 coln2o(lay) = 1.e-20_r8 * wkl(4,lay) 327 colco(lay) = 1.e-20_r8 * wkl(5,lay) 328 colch4(lay) = 1.e-20_r8 * wkl(6,lay) 329 colo2(lay) = 1.e-20_r8 * wkl(7,lay) 363 colo3(lay) = 1.e-20_r8 * wkl(3,lay) 365 colco(lay) = 1.e-20_r8 * wkl(5,lay) [all …]
|
H A D | rrtmg_lw_rad.F90 | 462 coldry, wkl, wbrodl, & 702 wkl(:,:,:) = 0.0_r8 737 wkl(iplon,1,l) = h2ovmr(iplon,nlay-l+1) 742 wkl(iplon,2,l) = co2vmr(iplon,nlay-l+1) 743 wkl(iplon,3,l) = o3vmr(iplon,nlay-l+1) 745 wkl(iplon,5,l) = 0._r8 747 wkl(iplon,7,l) = o2vmr(iplon,nlay-l+1) 748 amm(iplon,l) = (1._r8 - wkl(iplon,1,l)) * amd + wkl(iplon,1,l) * amw 769 summol = summol + wkl(iplon,imol,l) 773 wkl(iplon,imol,l) = coldry(iplon,l) * wkl(iplon,imol,l) [all …]
|
/dports/math/libpgmath/flang-d07daf3/test/ncar_kernels/PORT_inatm/src/ |
H A D | kernel_inatm.F90 | 31 REAL(KIND = r8) :: wkl(mxmol, nlay) local 168 IF ( ALL( outstate_wkl == wkl ) ) THEN 178 WRITE(*,*) count( outstate_wkl /= wkl), " of ", size( wkl ), " elements are different." 182 WRITE(*,*) "Mean value of kernel-generated outstate_wkl is ", sum(wkl)/real(size(wkl)) 609 wkl(:,:) = 0.0_r8 629 wkl(1,l) = h2ovmr(iplon,nlay-l+1) 631 wkl(3,l) = o3vmr(iplon,nlay-l+1) 634 wkl(7,l) = o2vmr(iplon,nlay-l+1) 635 amm = (1._r8 - wkl(1,l)) * amd + wkl(1,l) * amw 650 wkl(imol,l) = coldry(l) * wkl(imol,l) [all …]
|
/dports/math/libpgmath/flang-d07daf3/test/ncar_kernels/PORT_sw_rad/src/ |
H A D | rrtmg_sw_rad.F90 | 858 wkl(:,:) = 0.0_r8 915 wkl(1,l) = h2ovmr(iplon,nlay-l+1) 920 wkl(2,l) = co2vmr(iplon,nlay-l+1) 921 wkl(3,l) = o3vmr(iplon,nlay-l+1) 922 wkl(4,l) = n2ovmr(iplon,nlay-l+1) 925 amm = (1._r8 - wkl(1,l)) * amd + wkl(1,l) * amw 935 wkl(imol,l) = coldry(l) * wkl(imol,l) 1151 wkl(:,:,:) = 0.0_r8 1218 wkl(iplon,5,l) = 0._r8 1221 amm = (1._r8 - wkl(iplon,1,l)) * amd + wkl(iplon,1,l) * amw [all …]
|
/dports/math/libpgmath/flang-d07daf3/test/ncar_kernels/PORT_lw_inatm/src/ |
H A D | rrtmg_lw_rad.f90 | 284 REAL(KIND=r8) :: wkl(ncol,mxmol,nlay) local 396 READ(UNIT=kgen_unit) wkl 951 wkl(iplon,1,l) = h2ovmr(iplon,nlay-l+1) 956 wkl(iplon,2,l) = co2vmr(iplon,nlay-l+1) 957 wkl(iplon,3,l) = o3vmr(iplon,nlay-l+1) 959 wkl(iplon,5,l) = 0._r8 961 wkl(iplon,7,l) = o2vmr(iplon,nlay-l+1) 962 amm(iplon,l) = (1._r8 - wkl(iplon,1,l)) * amd + wkl(iplon,1,l) * amw 983 summol = summol + wkl(iplon,imol,l) 987 wkl(iplon,imol,l) = coldry(iplon,l) * wkl(iplon,imol,l) [all …]
|
/dports/math/libpgmath/flang-d07daf3/test/ncar_kernels/PORT_lw_setcoef/src/ |
H A D | rrtmg_lw_setcoef.f90 | 332 water(icol) = wkl(icol,1,lay)/coldry(icol,lay) 361 colh2o(icol,lay) = 1.e-20_r8 * wkl(icol,1,lay) 362 colco2(icol,lay) = 1.e-20_r8 * wkl(icol,2,lay) 363 colo3(icol,lay) = 1.e-20_r8 * wkl(icol,3,lay) 364 coln2o(icol,lay) = 1.e-20_r8 * wkl(icol,4,lay) 365 colco(icol,lay) = 1.e-20_r8 * wkl(icol,5,lay) 366 colch4(icol,lay) = 1.e-20_r8 * wkl(icol,6,lay) 367 colo2(icol,lay) = 1.e-20_r8 * wkl(icol,7,lay) 412 colo3(icol,lay) = 1.e-20_r8 * wkl(icol,3,lay) 414 colco(icol,lay) = 1.e-20_r8 * wkl(icol,5,lay) [all …]
|