/*************** Begin GPU ***************/
/** \ingroup m_task_management
- * \brief Creates a new #m_gpu_task_t.
+ * \brief Creates a new #msg_gpu_task_t.
- * A constructor for #m_gpu_task_t taking four arguments and returning
+ * A constructor for #msg_gpu_task_t taking four arguments and returning
a pointer to the new created GPU task.
* \param name a name for the object. It is for user-level information
* \param collect_latency time in seconds to transfer result from the GPU
back to the CPU (host) when done
- * \see m_gpu_task_t
+ * \see msg_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 */
* supposed to destroy it. The sender should not use it anymore.
* If the task failed to be sent, the sender remains the owner of the task.
*/
-MSG_error_t MSG_task_destroy(msg_task_t task)
+msg_error_t MSG_task_destroy(msg_task_t task)
{
smx_action_t action = NULL;
xbt_assert((task != NULL), "Invalid parameter");
* \param task the task to cancel. If it was executed or transfered, it
stops the process that were working on it.
*/
-MSG_error_t MSG_task_cancel(msg_task_t task)
+msg_error_t MSG_task_cancel(msg_task_t task)
{
xbt_assert((task != NULL), "Invalid parameter");