Home
last modified time | relevance | path

Searched defs:GpuTensorInfo (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/lite/test/ut/src/registry/
Dregistry_gpu_custom_op_test.cc107 struct GpuTensorInfo { struct
109 …explicit GpuTensorInfo(const MSTensor *tensor, registry::opencl::OpenCLRuntimeWrapper *opencl_run)… in GpuTensorInfo() argument
142 size_t N{1};
143 size_t H{1};
144 size_t W{1};
145 size_t C{1};
146 size_t Slice{};
147 size_t width{};
148 size_t height{};
149 size_t FLT_size{4};
[all …]
/third_party/mindspore/mindspore/lite/examples/runtime_gpu_extend/src/
Dcustom_common.h74 struct GpuTensorInfo { struct
76 …explicit GpuTensorInfo(const MSTensor *tensor, registry::opencl::OpenCLRuntimeWrapper *opencl_run)… in GpuTensorInfo() argument
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/
Dopencl_kernel.h92 struct GpuTensorInfo { struct
94 explicit GpuTensorInfo(const lite::Tensor *tensor) { in GpuTensorInfo() function
133 size_t RowPitch() const { in RowPitch()
141 int AlignAxis(int oriAxis) const { in AlignAxis()
152 bool IsImageSizeValid() { return width > 0 && height > 0; } in IsImageSizeValid()