Mentions légales du service

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

debug: cast print pointers

parent 6a4757c5
No related branches found
No related tags found
1 merge request!518gitlab-ci-initial-cache.cmake: CMAKE_C_FLAGS must be set as a cache variable...
......@@ -409,7 +409,7 @@ void *RUNTIME_data_getaddr( const CHAM_desc_t *A, int m, int n )
#if defined(CHAMELEON_KERNELS_TRACE)
fprintf( stderr, "%s - %p registered with tag %ld\n",
tile->name, *ptrtile, A->mpitag + A->lmt * nn + mm );
tile->name, (void*)(*ptrtile), A->mpitag + A->lmt * nn + mm );
#endif
assert( *ptrtile );
return (void*)(*ptrtile);
......@@ -486,7 +486,7 @@ void *RUNTIME_data_getaddr_withconversion( const RUNTIME_option_t *options,
#if defined(CHAMELEON_KERNELS_TRACE)
fprintf( stderr, "%s - %p registered with tag %ld\n",
tile->name, *ptrtile, A->mpitag + shift );
tile->name, (void*)(*ptrtile), A->mpitag + shift );
#endif
assert( *ptrtile );
......
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