 |
COMPASS
5.0.0
End-to-end AO simulation tool using GPU acceleration
|
Go to the documentation of this file.
42 #ifndef _SUTRA_TELEMETRY_H_
43 #define _SUTRA_TELEMETRY_H_
56 std::map<type_telemetry_pair, CarmaHostObj<float> *>
objs;
61 unsigned int nb_streams);
80 int add_obj(std::string type_obj,
int num_obj,
83 int del_obj(std::string type_obj,
int num_obj);
91 int wait_obj(std::string type_obj,
int num_obj);
97 int fill_from(std::string type_obj,
int num_obj,
float *data);
98 int fill_into(std::string type_obj,
int num_obj,
float *data);
101 #endif // _SUTRA_TELEMETRY_H_
SutraTelemetry(std::string type_obj, int num_obj, CarmaHostObj< float > *host_obj, unsigned int nb_streams)
std::pair< std::string, int > type_telemetry_pair
int wait_obj(std::string type_obj, int num_obj)
int add_obj(std::string type_obj, int num_obj, CarmaHostObj< float > *host_obj)
CarmaHostObj< float > * get_CarmaHostObj(std::string type_obj, int num_obj)
int add_obj(type_telemetry_pair obj, CarmaHostObj< float > *host_obj)
CarmaHostObj< float > * get_CarmaHostObj(type_telemetry_pair obj)
int cpy_obj(std::string type_obj, int num_obj, CarmaObj< float > *d_obj, cudaMemcpyKind flag)
this class provides the stream features to CarmaObj
int wait_stream(int stream)
int del_obj(type_telemetry_pair obj)
SutraTelemetry(type_telemetry_pair obj, CarmaHostObj< float > *host_obj, unsigned int nb_streams)
int fill_into(std::string type_obj, int num_obj, float *data)
cudaStream_t get_cuda_stream(int stream)
int fill_from(std::string type_obj, int num_obj, float *data)
this class provides the telemetry features to COMPASS
int del_obj(std::string type_obj, int num_obj)
std::map< type_telemetry_pair, CarmaHostObj< float > * > objs