17 #ifndef _SUTRA_TELEMETRY_H_
18 #define _SUTRA_TELEMETRY_H_
31 std::map<type_telemetry_pair, CarmaHostObj<float> *>
objs;
36 unsigned int nb_streams);
55 int add_obj(std::string type_obj,
int num_obj,
58 int del_obj(std::string type_obj,
int num_obj);
66 int wait_obj(std::string type_obj,
int num_obj);
72 int fill_from(std::string type_obj,
int num_obj,
float *data);
73 int fill_into(std::string type_obj,
int num_obj,
float *data);
this class provides the stream features to CarmaObj
this class provides the telemetry features to COMPASS
int fill_from(std::string type_obj, int num_obj, float *data)
int del_obj(std::string type_obj, int num_obj)
int wait_obj(std::string type_obj, int num_obj)
int del_obj(type_telemetry_pair obj)
int add_obj(type_telemetry_pair obj, CarmaHostObj< float > *host_obj)
int fill_into(std::string type_obj, int num_obj, float *data)
cudaStream_t get_cuda_stream(int stream)
std::map< type_telemetry_pair, CarmaHostObj< float > * > objs
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)
SutraTelemetry(std::string type_obj, int num_obj, CarmaHostObj< float > *host_obj, unsigned int nb_streams)
SutraTelemetry(type_telemetry_pair obj, CarmaHostObj< float > *host_obj, unsigned int nb_streams)
int wait_stream(int stream)
int cpy_obj(std::string type_obj, int num_obj, CarmaObj< float > *d_obj, cudaMemcpyKind flag)
CarmaHostObj< float > * get_CarmaHostObj(type_telemetry_pair obj)
std::pair< std::string, int > type_telemetry_pair