# File RuntimeConfigList.h

↰ [Parent directory](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_dir_SNPE.html#dir-snpe) (`SNPE`)

Contents

- [Definition (`SNPE/RuntimeConfigList.h`)](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#definition-snpe-runtimeconfiglist-h)
- [Includes](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#includes)
- [Included By](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#included-by)
- [Functions](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#functions)
- [Typedefs](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#typedefs)
- [Full File Listing](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#full-file-listing)

## Definition (`SNPE/RuntimeConfigList.h`)

## Includes

- `DlSystem/DlEnums.h` ([File DlEnums.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_DlEnums_h.html#file-dlsystem-dlenums-h))
- `DlSystem/DlError.h` ([File DlError.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_DlError_h.html#file-dlsystem-dlerror-h))
- `DlSystem/PlatformConfig.h` ([File PlatformConfig.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_PlatformConfig_h.html#file-dlsystem-platformconfig-h))
- `DlSystem/RuntimeList.h` ([File RuntimeList.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_RuntimeList_h.html#file-dlsystem-runtimelist-h))
- `DlSystem/SNPEPerfProfile.h` ([File SNPEPerfProfile.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_SNPEPerfProfile_h.html#file-dlsystem-snpeperfprofile-h))
- `DlSystem/SnpeApiExportDefine.h` ([File SnpeApiExportDefine.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_SnpeApiExportDefine_h.html#file-dlsystem-snpeapiexportdefine-h))
- `DlSystem/TensorShapeMap.h` ([File TensorShapeMap.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_TensorShapeMap_h.html#file-dlsystem-tensorshapemap-h))
- `stddef.h`

## Included By

- [File PSNPE.h](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_PSNPE_h.html#file-snpe-psnpe-h)

## Functions

- [Function Snpe\_RuntimeConfig\_Create](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1aec828f5e50fcf9e2aa44fd4e0c8ca723.html#exhale-function-runtimeconfiglist-8h-1aec828f5e50fcf9e2aa44fd4e0c8ca723)
- [Function Snpe\_RuntimeConfig\_CreateCopy](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1ad2f67961b1675b13747998daa414c5cb.html#exhale-function-runtimeconfiglist-8h-1ad2f67961b1675b13747998daa414c5cb)
- [Function Snpe\_RuntimeConfig\_Delete](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1ad9d0ba340f8f9b81761b9cf1e41256ac.html#exhale-function-runtimeconfiglist-8h-1ad9d0ba340f8f9b81761b9cf1e41256ac)
- [Function Snpe\_RuntimeConfig\_GetEnableCPUFallback](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1ac04ff4f3141b700c561e4cddbc17f402.html#exhale-function-runtimeconfiglist-8h-1ac04ff4f3141b700c561e4cddbc17f402)
- [Function Snpe\_RuntimeConfig\_GetInputDimensionsMap\_Ref](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1a5d45abcf58ff1d97a38245cb93aad423.html#exhale-function-runtimeconfiglist-8h-1a5d45abcf58ff1d97a38245cb93aad423)
- [Function Snpe\_RuntimeConfig\_GetPerformanceProfile](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1a1fa00378463616bae7762f6e2fbbeb35.html#exhale-function-runtimeconfiglist-8h-1a1fa00378463616bae7762f6e2fbbeb35)
- [Function Snpe\_RuntimeConfig\_GetPlatformOptionLocal\_Ref](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1acc62d9a89c45791d897f3f64c006f825.html#exhale-function-runtimeconfiglist-8h-1acc62d9a89c45791d897f3f64c006f825)
- [Function Snpe\_RuntimeConfig\_GetRuntime](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1aaec44b0a81db65daa127a72674b86b64.html#exhale-function-runtimeconfiglist-8h-1aaec44b0a81db65daa127a72674b86b64)
- [Function Snpe\_RuntimeConfig\_GetRuntimeList\_Ref](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1ad5f68cb08e04012700f763a1aba8f0a3.html#exhale-function-runtimeconfiglist-8h-1ad5f68cb08e04012700f763a1aba8f0a3)
- [Function Snpe\_RuntimeConfig\_SetCustomPerfProfile](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1a3db356a6bcfebcc31a4f17212d611f54.html#exhale-function-runtimeconfiglist-8h-1a3db356a6bcfebcc31a4f17212d611f54)
- [Function Snpe\_RuntimeConfig\_SetEnableCPUFallback](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1a1b956704db48ad7e8469ebb8ff743fa0.html#exhale-function-runtimeconfiglist-8h-1a1b956704db48ad7e8469ebb8ff743fa0)
- [Function Snpe\_RuntimeConfig\_SetInputDimensionsMap](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1a6c27db9c66d26e6b83fa38d5fe1067ce.html#exhale-function-runtimeconfiglist-8h-1a6c27db9c66d26e6b83fa38d5fe1067ce)
- [Function Snpe\_RuntimeConfig\_SetPerformanceProfile](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1a6ddfb48505ddc08ce31c9cc1df180738.html#exhale-function-runtimeconfiglist-8h-1a6ddfb48505ddc08ce31c9cc1df180738)
- [Function Snpe\_RuntimeConfig\_SetPlatformOptionLocal](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1a539d9d8f682e7a50f35709126dd0f766.html#exhale-function-runtimeconfiglist-8h-1a539d9d8f682e7a50f35709126dd0f766)
- [Function Snpe\_RuntimeConfig\_SetRuntime](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1a7233ea1215a7a18b006c21ad54bf7dd1.html#exhale-function-runtimeconfiglist-8h-1a7233ea1215a7a18b006c21ad54bf7dd1)
- [Function Snpe\_RuntimeConfig\_SetRuntimeList](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1aa2ddc0b3a9950248594272dbd9a59b8f.html#exhale-function-runtimeconfiglist-8h-1aa2ddc0b3a9950248594272dbd9a59b8f)
- [Function Snpe\_RuntimeConfigList\_Assign](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1a428de051be666cbc011cc5cea1d2f85c.html#exhale-function-runtimeconfiglist-8h-1a428de051be666cbc011cc5cea1d2f85c)
- [Function Snpe\_RuntimeConfigList\_At\_Ref](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1a54bab54dc5add21a11c17e3b89491f5f.html#exhale-function-runtimeconfiglist-8h-1a54bab54dc5add21a11c17e3b89491f5f)
- [Function Snpe\_RuntimeConfigList\_Capacity](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1a62906eb3baab5bd5f4d2ea0e33229e82.html#exhale-function-runtimeconfiglist-8h-1a62906eb3baab5bd5f4d2ea0e33229e82)
- [Function Snpe\_RuntimeConfigList\_Clear](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1ac432734f1af624e74068237b064deef0.html#exhale-function-runtimeconfiglist-8h-1ac432734f1af624e74068237b064deef0)
- [Function Snpe\_RuntimeConfigList\_Create](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1aeff8bd5796138b082ffb38b716cddeb2.html#exhale-function-runtimeconfiglist-8h-1aeff8bd5796138b082ffb38b716cddeb2)
- [Function Snpe\_RuntimeConfigList\_CreateSize](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1a06d060c6eed5cf9052c80bfdce64cd6b.html#exhale-function-runtimeconfiglist-8h-1a06d060c6eed5cf9052c80bfdce64cd6b)
- [Function Snpe\_RuntimeConfigList\_Delete](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1ac1afc9b8a04d00815db425a550b0d424.html#exhale-function-runtimeconfiglist-8h-1ac1afc9b8a04d00815db425a550b0d424)
- [Function Snpe\_RuntimeConfigList\_PushBack](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1ac7f6b009c5d2ac02bb4d94c06e745d5b.html#exhale-function-runtimeconfiglist-8h-1ac7f6b009c5d2ac02bb4d94c06e745d5b)
- [Function Snpe\_RuntimeConfigList\_Size](https://docs.qualcomm.com/doc/80-63442-10/topic/function_RuntimeConfigList_8h_1a89ba90a6ba6d8ae720aada7b172d563a.html#exhale-function-runtimeconfiglist-8h-1a89ba90a6ba6d8ae720aada7b172d563a)

## Typedefs

- [Typedef Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_RuntimeConfigList_8h_1aa98c1b9a10ce12f2112a08e978a62fa6.html#exhale-typedef-runtimeconfiglist-8h-1aa98c1b9a10ce12f2112a08e978a62fa6)
- [Typedef Snpe\_RuntimeConfigList\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_RuntimeConfigList_8h_1ab04f5b4cc242cc6df0c311573f60f573.html#exhale-typedef-runtimeconfiglist-8h-1ab04f5b4cc242cc6df0c311573f60f573)

## Full File Listing

Typedefs

- typedef void \*Snpe\_RuntimeConfig\_Handle\_t

    - A typedef to indicate a SNPE RuntimeConfig handle.

- typedef void \*Snpe\_RuntimeConfigList\_Handle\_t

    - A typedef to indicate a SNPE RuntimeConfigList handle.

Functions

- [Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) Snpe\_RuntimeConfig\_Create()

    - Create a new runtime config.

- [Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) Snpe\_RuntimeConfig\_CreateCopy([Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) rcHandle)

    - Copy-Constructs a RuntimeConfig and returns a handle to it.

- Parameters

    - **rcHandle** – **[in]** Handle to access the runtime config.

- Returns

    - a runtime config object.

- [Snpe\_ErrorCode\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlError_8h_1aa40d44ade537087ac80f867eb4e7d50f.html#_CPPv416Snpe_ErrorCode_t) Snpe\_RuntimeConfig\_Delete([Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) rcHandle)

    - Destroys the RuntimeConfig.

- Parameters

    - **rcHandle** – **[in]** Handle to access the runtime config.

- Returns

    - Error code. Returns SNPE\_SUCCESS if destruction successful.

- [Snpe\_Runtime\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a851ce6c63b2bd5515681a906330f7d01.html#_CPPv414Snpe_Runtime_t) Snpe\_RuntimeConfig\_GetRuntime([Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) rcHandle)

    - Returns the Runtime from runtime config.

- Parameters

    - **rcHandle** – **[in]** Handle to access the runtime config.

- Returns

    - Returns the Runtime.

- [Snpe\_ErrorCode\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlError_8h_1aa40d44ade537087ac80f867eb4e7d50f.html#_CPPv416Snpe_ErrorCode_t) Snpe\_RuntimeConfig\_SetRuntime([Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) rcHandle, [Snpe\_Runtime\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a851ce6c63b2bd5515681a906330f7d01.html#_CPPv414Snpe_Runtime_t) runtime)

    - Set the Runtime into runtime config.

- Parameters

    - - **rcHandle** – **[in]** Handle to access the runtime config.
- **runtime** – **[in]** The Runtime.

- Returns

    - SNPE\_SUCCESS on success.

- [Snpe\_ErrorCode\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlError_8h_1aa40d44ade537087ac80f867eb4e7d50f.html#_CPPv416Snpe_ErrorCode_t) Snpe\_RuntimeConfig\_SetRuntimeList([Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) rcHandle, [Snpe\_RuntimeList\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_RuntimeList_h.html#_CPPv425Snpe_RuntimeList_Handle_t) rlHandle)

    - Set snpe runtime list into psnpe runtime config.

- Parameters

    - - **rcHandle** – **[in]** Handle to access the runtime config.
- **rlHandle** – **[in]** Handle to access the runtime list.

- Returns

    - Error code. Ruturns SNPE\_SUCCESS if the runtime list added successfully.

- [Snpe\_RuntimeList\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_RuntimeList_h.html#_CPPv425Snpe_RuntimeList_Handle_t) Snpe\_RuntimeConfig\_GetRuntimeList\_Ref([Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) rcHandle)

    - Get the snpe runtime list from runtime config.

- Parameters

    - **rcHandle** – **[in]** Handle to access the runtime config.

- Returns

    - Returns snpe runtime list.

- [Snpe\_PerformanceProfile\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a2bbf863c52b6010323663938721ed29a.html#_CPPv425Snpe_PerformanceProfile_t) Snpe\_RuntimeConfig\_GetPerformanceProfile([Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) rcHandle)

    - Get the performance profile type from runtime config.

- Parameters

    - **rcHandle** – **[in]** Handle to access the runtime config.

- Returns

    - Returns the Performance Profile.

- [Snpe\_ErrorCode\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlError_8h_1aa40d44ade537087ac80f867eb4e7d50f.html#_CPPv416Snpe_ErrorCode_t) Snpe\_RuntimeConfig\_SetPerformanceProfile([Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) rcHandle, [Snpe\_PerformanceProfile\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlEnums_8h_1a2bbf863c52b6010323663938721ed29a.html#_CPPv425Snpe_PerformanceProfile_t) perfProfile)

    - Set the performance profile into runtime config.

- Parameters

    - - **rcHandle** – **[in]** Handle to access the runtime config.
- **perfProfile** – **[in]** The performance profile level.

- Returns

    - Error code. Ruturns SNPE\_SUCCESS if the runtime list added successfully.

- [Snpe\_ErrorCode\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlError_8h_1aa40d44ade537087ac80f867eb4e7d50f.html#_CPPv416Snpe_ErrorCode_t) Snpe\_RuntimeConfig\_SetCustomPerfProfile([Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) rcHandle, [Snpe\_SNPEPerfProfile\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_SNPEPerfProfile_h.html#_CPPv429Snpe_SNPEPerfProfile_Handle_t) perfProfileHandle)

    - Set the custom performance profile into runtime config.

- Parameters

    - - **rcHandle** – **[in]** Handle to access the runtime config.
- **perfProfileHandle** – **[in]** Handle to access the SNPEPerfProfile.

- Returns

    - Error code. Ruturns SNPE\_SUCCESS if the runtime list added successfully.

- int Snpe\_RuntimeConfig\_GetEnableCPUFallback([Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) rcHandle)

    - Get true(1) or false(0) about enabling cpu fallback for runtime config.

- Parameters

    - **rcHandle** – **[in]** Handle to access the runtime config.

- Returns

    - Returns 1 or 0.

- [Snpe\_ErrorCode\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlError_8h_1aa40d44ade537087ac80f867eb4e7d50f.html#_CPPv416Snpe_ErrorCode_t) Snpe\_RuntimeConfig\_SetEnableCPUFallback([Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) rcHandle, int enableCpuFallback)

    - Set 1 or 0 about enabling cpu fallback for runtime config.

- Parameters

    - - **rcHandle** – **[in]** Handle to access the runtime config.
- **enableCpuFallback** – **[in]** If true = 1 or false = 0.

- Returns

    - Returns SNPE\_SUCCESS if the enableCpuFallback added successfully.

- [Snpe\_ErrorCode\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlError_8h_1aa40d44ade537087ac80f867eb4e7d50f.html#_CPPv416Snpe_ErrorCode_t) Snpe\_RuntimeConfig\_SetPlatformOptionLocal([Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) rcHandle, [Snpe\_PlatformConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_PlatformConfig_h.html#_CPPv428Snpe_PlatformConfig_Handle_t) pcHandle)

    - Set the PlatformOptionLocal for runtime config.

- Parameters

    - - **rcHandle** – **[in]** Handle to access the runtime config.
- **pcHandle** – **[in]** Handle to access platformConfig.

- Returns

    - Returns SNPE\_SUCCESS if the PlatformOptionLocal added successfully.

- [Snpe\_PlatformConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_DlSystem_PlatformConfig_h.html#_CPPv428Snpe_PlatformConfig_Handle_t) Snpe\_RuntimeConfig\_GetPlatformOptionLocal\_Ref([Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) rcHandle)

    - Get the PlatformOptionLocal from runtime config.

- Parameters

    - **rcHandle** – **[in]** Handle to access the runtime config.

- Returns

    - Returns Handle to access platformConfig.

- [Snpe\_ErrorCode\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlError_8h_1aa40d44ade537087ac80f867eb4e7d50f.html#_CPPv416Snpe_ErrorCode_t) Snpe\_RuntimeConfig\_SetInputDimensionsMap([Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) rcHandle, [Snpe\_TensorShapeMap\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_TensorShapeMap_8h_1ae8e826453db558bff10f2ac433681685.html#_CPPv428Snpe_TensorShapeMap_Handle_t) tsmHandle)

    - Set the input dimension map for runtime config.

- Parameters

    - - **rcHandle** – **[in]** Handle to access the runtime config.
- **tsmHandle** – **[in]** Handle to access the tensor shap map.

- Returns

    - Returns SNPE\_SUCCESS if the tensor shap map added successfully.

- [Snpe\_TensorShapeMap\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/typedef_TensorShapeMap_8h_1ae8e826453db558bff10f2ac433681685.html#_CPPv428Snpe_TensorShapeMap_Handle_t) Snpe\_RuntimeConfig\_GetInputDimensionsMap\_Ref([Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) rcHandle)

    - Get the input dimension map from runtime config.

- Parameters

    - **rcHandle** – **[in]** Handle to access the runtime config.

- Returns

    - Returns the TensorShapeMap.

- [Snpe\_RuntimeConfigList\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv431Snpe_RuntimeConfigList_Handle_t) Snpe\_RuntimeConfigList\_Create()

    - Create a new runtime config list.

- [Snpe\_RuntimeConfigList\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv431Snpe_RuntimeConfigList_Handle_t) Snpe\_RuntimeConfigList\_CreateSize(size\_t size)

    - set the size of runtime config list.

- Parameters

    - **size** – **[in]** size of runtime config list.

- [Snpe\_ErrorCode\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlError_8h_1aa40d44ade537087ac80f867eb4e7d50f.html#_CPPv416Snpe_ErrorCode_t) Snpe\_RuntimeConfigList\_Delete([Snpe\_RuntimeConfigList\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv431Snpe_RuntimeConfigList_Handle_t) rclHandle)

    - Destroys the RuntimeConfigList.

- Parameters

    - **rcHandle** – **[in]** Handle to access the runtime config list.

- Returns

    - Error code. Returns SNPE\_SUCCESS if destruction successful.

- [Snpe\_ErrorCode\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlError_8h_1aa40d44ade537087ac80f867eb4e7d50f.html#_CPPv416Snpe_ErrorCode_t) Snpe\_RuntimeConfigList\_PushBack([Snpe\_RuntimeConfigList\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv431Snpe_RuntimeConfigList_Handle_t) rclHandle, [Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) rcHandle)

    - Push runtime config into runtime config list.

- Parameters

    - - **rclHandle** – **[in]** Handle to access the runtime config list.
- **rcHandle** – **[in]** Handle to access the runtime config.

- Returns

    - Error code. Returns SNPE\_SUCCESS if runtime config pushed successfully.

- [Snpe\_RuntimeConfig\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv427Snpe_RuntimeConfig_Handle_t) Snpe\_RuntimeConfigList\_At\_Ref([Snpe\_RuntimeConfigList\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv431Snpe_RuntimeConfigList_Handle_t) rclHandle, size\_t idx)

    - Returns the Runtime Config from list at position index.

- Parameters

    - - **rclHandle** – **[in]** Handle to access the runtime config list.
- **idx** – **[in]** Position in runtimeList.

- Returns

    - Returns the runtime config from list at position index.

- [Snpe\_ErrorCode\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlError_8h_1aa40d44ade537087ac80f867eb4e7d50f.html#_CPPv416Snpe_ErrorCode_t) Snpe\_RuntimeConfigList\_Assign([Snpe\_RuntimeConfigList\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv431Snpe_RuntimeConfigList_Handle_t) rclSrcHandle, [Snpe\_RuntimeConfigList\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv431Snpe_RuntimeConfigList_Handle_t) rclDstHandle)

    - Copy-assigns the contents of rclSrcHandle into rclDstHandle.

- Parameters

    - - **rclHandle** – **[in]** Source RuntimeConfigList handle.
- **idx** – **[in]** Destination RuntimeConfigList handle.

- Returns

    - SNPE\_SUCCESS on successful copy-assignment.

- size\_t Snpe\_RuntimeConfigList\_Size([Snpe\_RuntimeConfigList\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv431Snpe_RuntimeConfigList_Handle_t) rclHandle)

    - Returns the number of runtime configs in the list.

- Parameters

    - **rclHandle** – **[in]** Handle to access the runtime config list.

- Returns

    - Returns number of entries in the runtimeConfigList.

- size\_t Snpe\_RuntimeConfigList\_Capacity([Snpe\_RuntimeConfigList\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv431Snpe_RuntimeConfigList_Handle_t) rclHandle)

    - Returns the capacity of runtime configs in the list.

- Parameters

    - **rclHandle** – **[in]** Handle to access the runtime config list.

- Returns

    - Returns number of capacity in the runtimeConfigList.

- [Snpe\_ErrorCode\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/enum_DlError_8h_1aa40d44ade537087ac80f867eb4e7d50f.html#_CPPv416Snpe_ErrorCode_t) Snpe\_RuntimeConfigList\_Clear([Snpe\_RuntimeConfigList\_Handle\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/c_api-rst_file_SNPE_RuntimeConfigList_h.html#_CPPv431Snpe_RuntimeConfigList_Handle_t) rclHandle)

    - Removes all runtime configs from the list.

- Parameters

    - **rclHandle** – **[in]** Handle to access the runtime config list.

- Returns

    - Error code. Returns SNPE\_SUCCESS if runtime config list is cleared successfully.

Last Published: Jun 04, 2026