Channel combine kernel GPU crash in Arm compute version 17.10 - Request for inputs
Hi Sir,
When executing Channel Combine kernel for GPU in Armcompute library, it is resulting in crash in configuring the kernel. Attaching the logs, stand alone workspace for reference.
Version: 17.10 cl_channel_combine_rgb_standalone_log.txt cl_channel_combine_rgb.txt
Please help us in resolving this issue.
Thanks, Vinith
Closing issue. No issues are reported from our test infrastructure. Try 18.05 and make sure your driver is fine. Reopen in case of more information.
Hi @GeorgeARM we are seeing ERROR in data_type_from_format /arm_compute/core/Utils.h:242: Not supported data_type for given format No such file or directory error while executing NV12, NV21 and output is not matching with NEON in case of IYUV and YUV444 formats. Can you please help?
Hello @manjunathahg, We could gladly help but we need more info. Can you provide us with the build command, example test program, input, output and expected output?
Closing due to inactivity, reopen if needed with more information as requested.
Hi @GeorgeARM sorry for not attaching the logs and stand alone. I am attaching the same. channelCombine_log.txt cl_channel_combine_rgb.txt
The same error is seen in the latest 18.08 version
Hi @manjunathahg You have to use the CLMultiImage class for multi planar output and not the CLImage one. Please refer to the examples/tests we already have in the library.
Hi @mpekatsoula Thank you for your inputs. When we use CLMultiImage class for NV12/NV21 output formats, we are getting clEnqueueMapBuffer(-38) error. Can you please help us in resolving this? Log and test program attached. channelCombine_test_failed_log.txt channelCombine.txt
@manjunathahg
Your example runs fine without any errors on our side. I'm guessing you got this error when you uncommented these lines
dstMultiImage.cl_plane(0)->map(true);
dstMultiImage.cl_plane(1)->map(true);
dstMultiImage.cl_plane(2)->map(true);
dstMultiImage.cl_plane(0)->unmap();
dstMultiImage.cl_plane(1)->unmap();
dstMultiImage.cl_plane(2)->unmap();
which makes sense because NV21 has only 2 planes and not 3. So line dstMultiImage.cl_plane(2)->map(true); will fail.