/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocal/checkouts/docs-6.2.1/rocAL/include/api/rocal_api_parameters.h Source File#
rocal_api_parameters.h
Go to the documentation of this file.
62 extern "C" RocalStatus ROCAL_API_CALL rocalUpdateIntUniformRand(int start, int end, RocalIntParam updating_obj);
106 extern "C" RocalStatus ROCAL_API_CALL rocalUpdateFloatParameter(float new_val, RocalFloatParam input_obj);
114 extern "C" RocalStatus ROCAL_API_CALL rocalUpdateIntParameter(int new_val, RocalIntParam input_obj);
123 extern "C" RocalStatus ROCAL_API_CALL rocalUpdateFloatUniformRand(float start, float end, RocalFloatParam updating_obj);
132 extern "C" RocalIntParam ROCAL_API_CALL rocalCreateIntRand(const int *values, const double *frequencies, unsigned size);
142 extern "C" RocalStatus ROCAL_API_CALL rocalUpdateIntRand(const int *values, const double *frequencies, unsigned size, RocalIntParam updating_obj);
151 extern "C" RocalFloatParam ROCAL_API_CALL rocalCreateFloatRand(const float *values, const double *frequencies, unsigned size);
161 extern "C" RocalStatus ROCAL_API_CALL rocalUpdateFloatRand(const float *values, const double *frequencies, unsigned size, RocalFloatParam updating_obj);
RocalFloatParam ROCAL_API_CALL rocalCreateFloatUniformRand(float start, float end)
Creates a new uniform random float parameter within a specified range.
RocalIntParam ROCAL_API_CALL rocalCreateIntUniformRand(int start, int end)
Creates a new uniform random integer parameter within a specified range.
RocalStatus ROCAL_API_CALL rocalUpdateIntUniformRand(int start, int end, RocalIntParam updating_obj)
updates uniform random integer parameter within a specified range.
int ROCAL_API_CALL rocalGetIntValue(RocalIntParam obj)
gets the value of a RocalIntParam.
RocalStatus ROCAL_API_CALL rocalUpdateFloatParameter(float new_val, RocalFloatParam input_obj)
Updates a float parameter with a new value.
RocalIntParam ROCAL_API_CALL rocalCreateIntParameter(int val)
Creates a new int parameter with a specified value.
RocalStatus ROCAL_API_CALL rocalUpdateIntParameter(int new_val, RocalIntParam input_obj)
Updates a integer parameter with a new value.
RocalStatus ROCAL_API_CALL rocalUpdateFloatUniformRand(float start, float end, RocalFloatParam updating_obj)
updates uniform random float parameter within a specified range.
float ROCAL_API_CALL rocalGetFloatValue(RocalFloatParam obj)
gets the value of a RocalFloatParam.
RocalStatus ROCAL_API_CALL rocalUpdateIntRand(const int *values, const double *frequencies, unsigned size, RocalIntParam updating_obj)
update the int random value
RocalIntParam ROCAL_API_CALL rocalCreateIntRand(const int *values, const double *frequencies, unsigned size)
Sets the parameters for a new or existing RocalIntRandGen object.
RocalStatus ROCAL_API_CALL rocalUpdateFloatRand(const float *values, const double *frequencies, unsigned size, RocalFloatParam updating_obj)
update the float random value
RocalFloatParam ROCAL_API_CALL rocalCreateFloatParameter(float val)
Creates a new float parameter with a specified value.
RocalFloatParam ROCAL_API_CALL rocalCreateFloatRand(const float *values, const double *frequencies, unsigned size)
Sets the parameters for a new or existing RocalFloatRandGen object.
The AMD rocAL Library - Types.