# Miscellaneous

- FASTCV\_API void fcvGetVersion(char \*version, unsigned int versionLength)

    - Retrieves version of FastCV library.

- Parameters:

    - - **version** – Pointer to location to put string.
- **versionLength** – Length of storage for version string.

- FASTCV\_API int fcvSetOperationMode([fcvOperationMode](https://docs.qualcomm.com/doc/80-79511-2/topic/enum_a00021_1a6b170923796860c68e491eb2af466058.html#_CPPv416fcvOperationMode) mode)

    - Selects HW units for all routines at run-time. **WARNING:** Should be called once at the very beginning to update mode.

- Parameters:

    - **mode** – See enum for details.

- Returns:

    - 0 if successful. 999 if minmum HW requirement not met. other #’s if unsuccessful.

- FASTCV\_API void fcvCleanUp(void)

    - Clean up FastCV resources. Must be called before the program exits.

Last Published: Aug 30, 2024

[Previous Topic
Memory management](https://docs.qualcomm.com/bundle/publicresource/80-79511-2/topics/memory_management.md) [Next Topic
Motion and object tracking](https://docs.qualcomm.com/bundle/publicresource/80-79511-2/topics/motion_and_object_tracking.md)