Back to Adaptive 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.

Syntax

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

Parameters

Name Type Default Description
inLevel Optional<SimdLevel::Type> NIL Maximum simd level to be enabled
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.