Commit 620bd90d authored by BRAMAS Berenger's avatar BRAMAS Berenger
Browse files

remove an assert since it no longer the same pointer for the same pointing handle on gpu

parent 570c1f42
...@@ -148,7 +148,7 @@ public: ...@@ -148,7 +148,7 @@ public:
///////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////
static void transferInPassCallback(void *buffers[], void *cl_arg){ static void transferInPassCallback(void *buffers[], void *cl_arg){
FAssertLF(STARPU_VARIABLE_GET_PTR(buffers[0]) == STARPU_VARIABLE_GET_PTR(buffers[1])); //FAssertLF(STARPU_VARIABLE_GET_PTR(buffers[0]) == STARPU_VARIABLE_GET_PTR(buffers[1]));
//CudaCellGroupClass currentCells((unsigned char*)STARPU_VARIABLE_GET_PTR(buffers[0]), //CudaCellGroupClass currentCells((unsigned char*)STARPU_VARIABLE_GET_PTR(buffers[0]),
// STARPU_VARIABLE_GET_ELEMSIZE(buffers[0])); // STARPU_VARIABLE_GET_ELEMSIZE(buffers[0]));
...@@ -164,8 +164,8 @@ public: ...@@ -164,8 +164,8 @@ public:
} }
static void transferInoutPassCallback(void *buffers[], void *cl_arg){ static void transferInoutPassCallback(void *buffers[], void *cl_arg){
FAssertLF(STARPU_VARIABLE_GET_PTR(buffers[0]) == STARPU_VARIABLE_GET_PTR(buffers[2])); //FAssertLF(STARPU_VARIABLE_GET_PTR(buffers[0]) == STARPU_VARIABLE_GET_PTR(buffers[2]));
FAssertLF(STARPU_VARIABLE_GET_PTR(buffers[1]) == STARPU_VARIABLE_GET_PTR(buffers[3])); //FAssertLF(STARPU_VARIABLE_GET_PTR(buffers[1]) == STARPU_VARIABLE_GET_PTR(buffers[3]));
// CudaCellGroupClass currentCells((unsigned char*)STARPU_VARIABLE_GET_PTR(buffers[0]), // CudaCellGroupClass currentCells((unsigned char*)STARPU_VARIABLE_GET_PTR(buffers[0]),
// STARPU_VARIABLE_GET_ELEMSIZE(buffers[0])); // STARPU_VARIABLE_GET_ELEMSIZE(buffers[0]));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment