Hi crackwitz~ I monitor the usage of my CPU and GPU and I didn’t see any GPU usage when I set use_opencl = true.
If I delete this line,
inMat.convertTo(inMat, CV_32FC3);
The inMat data format is int8, I can see the use of GPU when I run the code.
This is the reason I asked whether UMat support float32 data type.
The GPU in my PC is Inter(R) UHD Graphics 630