Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 815e8bab authored by THIBAULT Samuel's avatar THIBAULT Samuel
Browse files

Fix tile access

parent cac0a731
No related branches found
No related tags found
1 merge request!27Add macros to make codelets just declare their access and let the macro definition do what should be
......@@ -39,7 +39,7 @@ void MORSE_TASK_ztile_zero(const const MORSE_option_t *options,
void (*callback)(void*) = options->profiling ? cl_zlacpy_callback : NULL;
MORSE_BEGIN_ACCESS_DECLARATION;
MORSE_ACCESS_RW(A, Am, An);
MORSE_ACCESS_W(A, Am, An);
MORSE_END_ACCESS_DECLARATION;
starpu_insert_task(
......@@ -48,7 +48,7 @@ void MORSE_TASK_ztile_zero(const const MORSE_option_t *options,
STARPU_VALUE, &X2, sizeof(int),
STARPU_VALUE, &Y1, sizeof(int),
STARPU_VALUE, &Y2, sizeof(int),
STARPU_RW, RTBLKADDR(A, MORSE_Complex64_t, Am, An),
STARPU_W, RTBLKADDR(A, MORSE_Complex64_t, Am, An),
STARPU_VALUE, &lda, sizeof(int),
STARPU_PRIORITY, options->priority,
STARPU_CALLBACK, callback, NULL,
......
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