Searched refs:kMaxDim (Results 1 – 8 of 8) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/ |
D | slice_copy_impl.cu | 26 constexpr size_t kMaxDim = 8; variable 41 …lobal__ void CopySlicesKernel(VectorWrapper<int64_t, kMaxDim> begins, VectorWrapper<int64_t, kMaxD… in CopySlicesKernel() 42 … VectorWrapper<size_t, kMaxDim> u, VectorWrapper<size_t, kMaxDim> u_offset, in CopySlicesKernel() 43 … VectorWrapper<size_t, kMaxDim> o_offset, const T *update_addr, T *output_addr) { in CopySlicesKernel() 65 std::vector<size_t> offset(kMaxDim); in CalculateOffset() 83 VectorWrapper<size_t, kMaxDim> o_offset(CalculateOffset(output_shape)); in CopySlices() 84 VectorWrapper<size_t, kMaxDim> u_offset(CalculateOffset(update_shape)); in CopySlices() 86 VectorWrapper<int64_t, kMaxDim> begins(begin); in CopySlices() 87 VectorWrapper<int64_t, kMaxDim> strides(stride); in CopySlices() 88 VectorWrapper<size_t, kMaxDim> update_shapes(update_shape); in CopySlices()
|
/third_party/skia/src/core/ |
D | SkBitmapDevice.cpp | 46 kMaxDim = 8192 - 1 enumerator 65 return dev->width() > kMaxDim || dev->height() > kMaxDim; in NeedsTiling() 79 fNeedsTiling = clipR.right() > kMaxDim || clipR.bottom() > kMaxDim; in SkDrawTiler() 97 fNeedsTiling = fSrcBounds.right() > kMaxDim || fSrcBounds.bottom() > kMaxDim; in SkDrawTiler() 111 fOrigin.set(fSrcBounds.fLeft - kMaxDim, fSrcBounds.fTop); in SkDrawTiler() 151 if (fOrigin.fX >= fSrcBounds.fRight - kMaxDim) { // too far in stepAndSetupTileDraw() 153 fOrigin.fY += kMaxDim; in stepAndSetupTileDraw() 155 fOrigin.fX += kMaxDim; in stepAndSetupTileDraw() 158 fDone = fOrigin.fX >= fSrcBounds.fRight - kMaxDim && in stepAndSetupTileDraw() 159 fOrigin.fY >= fSrcBounds.fBottom - kMaxDim; in stepAndSetupTileDraw() [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkBitmapDevice.cpp | 46 kMaxDim = 8192 - 1 enumerator 65 return dev->width() > kMaxDim || dev->height() > kMaxDim; in NeedsTiling() 79 fNeedsTiling = clipR.right() > kMaxDim || clipR.bottom() > kMaxDim; in SkDrawTiler() 97 fNeedsTiling = fSrcBounds.right() > kMaxDim || fSrcBounds.bottom() > kMaxDim; in SkDrawTiler() 112 fOrigin.set(fSrcBounds.fLeft - kMaxDim, fSrcBounds.fTop); in SkDrawTiler() 152 if (fOrigin.fX >= fSrcBounds.fRight - kMaxDim) { // too far in stepAndSetupTileDraw() 154 fOrigin.fY += kMaxDim; in stepAndSetupTileDraw() 156 fOrigin.fX += kMaxDim; in stepAndSetupTileDraw() 159 fDone = fOrigin.fX >= fSrcBounds.fRight - kMaxDim && in stepAndSetupTileDraw() 160 fOrigin.fY >= fSrcBounds.fBottom - kMaxDim; in stepAndSetupTileDraw() [all …]
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16_grad/ |
D | bias_fp16_grad.cc | 30 constexpr static int kMaxDim = 4; variable 42 for (auto i = bias_param->ndim_; i < kMaxDim; i++) { in ReSize()
|
/third_party/flutter/skia/src/codec/ |
D | SkBmpCodec.cpp | 286 constexpr int kMaxDim = 1 << 16; in ReadHeader() local 287 if (width <= 0 || height <= 0 || width >= kMaxDim || height >= kMaxDim) { in ReadHeader()
|
/third_party/skia/src/codec/ |
D | SkBmpCodec.cpp | 289 constexpr int kMaxDim = 1 << 16; in ReadHeader() local 290 if (width <= 0 || height <= 0 || width >= kMaxDim || height >= kMaxDim) { in ReadHeader()
|
/third_party/skia/src/gpu/ops/ |
D | SmallPathRenderer.cpp | 43 static constexpr SkScalar kMaxDim = 73; variable 701 if (maxDim > kMaxDim || kMinSize > minSize || maxSize > kMaxSize) { in onCanDrawPath()
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 51 static const SkScalar kMaxDim = 73; variable 214 if (maxDim > kMaxDim || kMinSize > minSize || maxSize > kMaxSize) { in onCanDrawPath()
|