ComputeLibrary icon indicating copy to clipboard operation
ComputeLibrary copied to clipboard

Build error of neon on Odroid

Open Rahn80643 opened this issue 5 years ago • 3 comments

Output of 'strings libarm_compute.so | grep arm_compute_version':

Platform: Odroid C4

Operating System: Distributor ID: Ubuntu Description: Ubuntu 20.04.1 LTS Release: 20.04 Codename: focal

Problem description: Hi, I tried to compile compute library base on this tutorial, but when I set neon=1, I got the following error: ./arm_compute/core/PixelValue.h:38:5: error: arm_compute::PixelValue::PixelValue()' does not throw; perhaps it should be declared noexcept` [-Werror=noexcept]

The version of compute library is set as 21.02.

Currently, I set neon=0 and compute library is compiled successfully. I'm not sure if this is a bug on Odroid, compute library, or the version of Ubuntu.

computelibrary_error

Thank you, Rahn

Rahn80643 avatar Apr 06 '21 00:04 Rahn80643

Hi @Rahn80643

This patch solves the problem: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5281

Hope this helps

morgolock avatar Apr 06 '21 06:04 morgolock

Hi @morgolock, I've successfully built Compute Library with the patch.

Thank you

Rahn80643 avatar Apr 08 '21 01:04 Rahn80643

Hi,

You have to cherry pick the patch on the top of 21.02.

21.05 and 21.08 already have the fix applied.

Hope this helps.


From: Divy Sancheti @.> Sent: 16 September 2021 23:10 To: ARM-software/ComputeLibrary @.> Cc: Subscribed @.***> Subject: Re: [ARM-software/ComputeLibrary] Build error of neon on Odroid (#892)

How to apply the patch?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/ARM-software/ComputeLibrary/issues/892#issuecomment-921289148, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGNXIST33J63VSNE3G2X7S3UCJTOTANCNFSM42NVZDFA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

developer-compute avatar Sep 17 '21 08:09 developer-compute