Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2680eed1 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

starpu: fix enum comparison warning

parent 6b940f25
No related branches found
No related tags found
1 merge request!398Generic data distribution specification
......@@ -11,7 +11,7 @@
*
* @brief Chameleon StarPU runtime header
*
* @version 1.2.0
* @version 1.3.0
* @author Mathieu Faverge
* @author Cedric Castagnede
* @author Florent Pruvost
......@@ -19,7 +19,7 @@
* @author Samuel Thibault
* @author Loris Lucido
* @author Terry Cojean
* @date 2023-01-30
* @date 2023-07-05
*
*/
#ifndef _chameleon_starpu_h_
......@@ -110,9 +110,9 @@ typedef struct starpu_option_request_s {
/**/
static inline int cham_to_starpu_access( cham_access_t accessA ) {
assert( ChamR == STARPU_R );
assert( ChamW == STARPU_W );
assert( ChamRW == STARPU_RW );
assert( (enum starpu_data_access_mode)ChamR == STARPU_R );
assert( (enum starpu_data_access_mode)ChamW == STARPU_W );
assert( (enum starpu_data_access_mode)ChamRW == STARPU_RW );
return accessA;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment