diff options
author | Marco Antognini <marco.antognini@arm.com> | 2021-03-23 16:59:08 +0000 |
---|---|---|
committer | Michele Di Giorgio <michele.digiorgio@arm.com> | 2021-04-08 16:29:20 +0000 |
commit | 4a5f73d36962f254ad630beb70deb1907ba381b9 (patch) | |
tree | 1a89ef8a7f47207f38bfbb4a998d7788f6273105 /src/core/NEON/kernels/arm_gemm | |
parent | b71322dc037267219f95da406affd42e880a0cc6 (diff) | |
download | ComputeLibrary-4a5f73d36962f254ad630beb70deb1907ba381b9.tar.gz |
Ensure OpenCL runtimes are initialized first
The OpenCL API Specification states:
> The behavior of OpenCL API functions called from global constructors
> or destructors is therefore implementation-defined.
This patch improves compatibility with OpenCL runtimes that use static
objects to hold their internal state.
Change-Id: I850be378e9c6f0b5aa8db926fe0c62833a936724
Signed-off-by: Marco Antognini <marco.antognini@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5383
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Comments-Addressed: Sheri Zhang <sheri.zhang@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/NEON/kernels/arm_gemm')
0 files changed, 0 insertions, 0 deletions