/*************** Begin GPU ***************/
typedef struct simdata_gpu_task *simdata_gpu_task_t;
-typedef struct m_gpu_task {
+typedef struct msg_gpu_task {
char *name; /**< @brief task name if any */
simdata_gpu_task_t simdata; /**< @brief simulator data */
#ifdef HAVE_TRACING
long long int counter; /* task unique identifier for instrumentation */
char *category; /* task category for instrumentation */
#endif
-} s_m_gpu_task_t;
+} s_msg_gpu_task_t;
/** @brief GPU task datatype.
@ingroup m_task_management
amount</em>, a <em>dispatch latency</em> and a <em>collect latency</em>.
\see m_task_management
*/
-typedef struct m_gpu_task *m_gpu_task_t;
+typedef struct msg_gpu_task *msg_gpu_task_t;
/*************** End GPU ***************/
/**
typedef msg_process_t m_process_t;
typedef msg_host_t m_host_t;
typedef msg_task_t m_task_t;
+typedef msg_gpu_task_t m_gpu_task_t;
#ifdef MSG_USE_DEPRECATED
typedef int m_channel_t;
XBT_PUBLIC(msg_task_t) MSG_task_create(const char *name,
double compute_duration,
double message_size, void *data);
-XBT_PUBLIC(m_gpu_task_t) MSG_gpu_task_create(const char *name,
+XBT_PUBLIC(msg_gpu_task_t) MSG_gpu_task_create(const char *name,
double compute_duration,
double dispatch_latency,
double collect_latency);
* \see m_gpu_task_t
* \return The new corresponding object.
*/
-m_gpu_task_t MSG_gpu_task_create(const char *name, double compute_duration,
+msg_gpu_task_t MSG_gpu_task_create(const char *name, double compute_duration,
double dispatch_latency, double collect_latency)
{
- m_gpu_task_t task = xbt_new(s_m_gpu_task_t, 1);
+ msg_gpu_task_t task = xbt_new(s_msg_gpu_task_t, 1);
simdata_gpu_task_t simdata = xbt_new(s_simdata_gpu_task_t, 1);
task->simdata = simdata;
/* Task structure */