/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocal/checkouts/develop/rocAL/include/api/rocal_api_parameters.h File Reference

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocal/checkouts/develop/rocAL/include/api/rocal_api_parameters.h File Reference#

rocAL: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocal/checkouts/develop/rocAL/include/api/rocal_api_parameters.h File Reference
rocal_api_parameters.h File Reference

The AMD rocAL Library - Parameters. More...

#include "rocal_api_types.h"

Go to the source code of this file.

Functions

void ROCAL_API_CALL rocalSetSeed (unsigned seed)
 set seed for random number generation More...
 
unsigned ROCAL_API_CALL rocalGetSeed ()
 gets the seed value More...
 
RocalIntParam ROCAL_API_CALL rocalCreateIntUniformRand (int start, int end)
 Creates a new uniform random integer parameter within a specified range. More...
 
RocalStatus ROCAL_API_CALL rocalUpdateIntUniformRand (int start, int end, RocalIntParam updating_obj)
 updates uniform random integer parameter within a specified range. More...
 
int ROCAL_API_CALL rocalGetIntValue (RocalIntParam obj)
 gets the value of a RocalIntParam. More...
 
float ROCAL_API_CALL rocalGetFloatValue (RocalFloatParam obj)
 gets the value of a RocalFloatParam. More...
 
RocalFloatParam ROCAL_API_CALL rocalCreateFloatUniformRand (float start, float end)
 Creates a new uniform random float parameter within a specified range. More...
 
RocalFloatParam ROCAL_API_CALL rocalCreateFloatParameter (float val)
 Creates a new float parameter with a specified value. More...
 
RocalIntParam ROCAL_API_CALL rocalCreateIntParameter (int val)
 Creates a new int parameter with a specified value. More...
 
RocalStatus ROCAL_API_CALL rocalUpdateFloatParameter (float new_val, RocalFloatParam input_obj)
 Updates a float parameter with a new value. More...
 
RocalStatus ROCAL_API_CALL rocalUpdateIntParameter (int new_val, RocalIntParam input_obj)
 Updates a integer parameter with a new value. More...
 
RocalStatus ROCAL_API_CALL rocalUpdateFloatUniformRand (float start, float end, RocalFloatParam updating_obj)
 updates uniform random float parameter within a specified range. More...
 
RocalIntParam ROCAL_API_CALL rocalCreateIntRand (const int *values, const double *frequencies, unsigned size)
 Sets the parameters for a new or existing RocalIntRandGen object. More...
 
RocalStatus ROCAL_API_CALL rocalUpdateIntRand (const int *values, const double *frequencies, unsigned size, RocalIntParam updating_obj)
 update the int random value More...
 
RocalFloatParam ROCAL_API_CALL rocalCreateFloatRand (const float *values, const double *frequencies, unsigned size)
 Sets the parameters for a new or existing RocalFloatRandGen object. More...
 
RocalStatus ROCAL_API_CALL rocalUpdateFloatRand (const float *values, const double *frequencies, unsigned size, RocalFloatParam updating_obj)
 update the float random value More...
 

Detailed Description

The AMD rocAL Library - Parameters.