ComputeLibrary icon indicating copy to clipboard operation
ComputeLibrary copied to clipboard

Channel combine kernel GPU crash in Arm compute version 17.10 - Request for inputs

Open vinithsrvv1-path opened this issue 8 years ago • 8 comments

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

vinithsrvv1-path avatar Apr 09 '18 07:04 vinithsrvv1-path

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.

GeorgeARM avatar Jun 02 '18 09:06 GeorgeARM

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?

manjunathahg avatar Sep 06 '18 13:09 manjunathahg

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?

GeorgeARM avatar Sep 06 '18 13:09 GeorgeARM

Closing due to inactivity, reopen if needed with more information as requested.

mpekatsoula avatar Sep 21 '18 14:09 mpekatsoula

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

manjunathahg avatar Sep 25 '18 12:09 manjunathahg

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.

mpekatsoula avatar Sep 25 '18 13:09 mpekatsoula

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 avatar Sep 26 '18 07:09 manjunathahg

@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.

mpekatsoula avatar Sep 26 '18 10:09 mpekatsoula