Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 1.02 KB

misc_integration_details.md

File metadata and controls

17 lines (9 loc) · 1.02 KB

Other integration considerations

Useful defines

A small number of defines are exposed and can be used to finetune the behavior.

RTM_NO_INTRINSICS

This define prevents the usage of intrinsics unless explicitly requested by the integration manually (e.g. you can still defined RTM_SSE2_INTRINSICS yourself). Everything will default to pure scalar implementations.

ACL_USE_POPCOUNT

This enables the usage of the POPCNT intrinsics when available on x86/x64 CPUs. It is currently not possible to determine at compile time when it is supported. For example Haswell CPUs have support for AVX2 but not POPCNT. The macro is automatically enabled on Xbox One but not yet on PlayStation 4 (even though it is supported, contributions welcome).

ACL_USE_SJSON

ACL uses sjson-cpp to output stats as well as to read/write ASCII human readable clips. Enable this define to use these features and make sure sjson-cpp/includes is in the include path.