Back to Aurora Vision Library website

You are here: Start » Function Reference » System » Configuration » ControlSIMD

ControlSIMD


Header: AVL.h
Namespace: avl
Module: FoundationLite

Enables or disables SIMD cpu extension (e.g. SSE, AVX2, NEON) usage by other filters. This filter does not affect third party components e.g. camera software, OpenCV.

Syntax

C++
C#
 
void avl::ControlSIMD
(
	atl::Optional<avl::SimdLevel::Type> inLevel,
	avl::SimdLevel::Type& outLevel
)

Parameters

Name Type Default Description
Input value inLevel Optional<SimdLevel::Type> NIL Maximum simd level to be enabled
Output value outLevel SimdLevel::Type& Actually adjusted simd level

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.