setMemoryLimit

API definition

void setMemoryLimit(float memoryLimit);

Function

Sets the host memory limit. The default value is 32, and the unit is GB. PreciseMemControl must be set to true first.

Input

float memoryLimit: memory limit.

Output

N/A

Return value

N/A

Restrictions

This API is not supported in the current version. Avoid using it.