|
@@ -248,9 +248,9 @@ struct starpu_vector_interface
|
|
|
size_t offset;
|
|
|
uint32_t nx;
|
|
|
size_t elemsize;
|
|
|
-#ifdef STARPU_OPENMP
|
|
|
+
|
|
|
+ /* vector slice base, used by the StarPU OpenMP runtime support */
|
|
|
uint32_t slice_base;
|
|
|
-#endif /* STARPU_OPENMP */
|
|
|
};
|
|
|
|
|
|
void starpu_vector_data_register(starpu_data_handle_t *handle, unsigned home_node, uintptr_t ptr, uint32_t nx, size_t elemsize);
|
|
@@ -264,9 +264,7 @@ uintptr_t starpu_vector_get_local_ptr(starpu_data_handle_t handle);
|
|
|
#define STARPU_VECTOR_GET_OFFSET(interface) (((struct starpu_vector_interface *)(interface))->offset)
|
|
|
#define STARPU_VECTOR_GET_NX(interface) (((struct starpu_vector_interface *)(interface))->nx)
|
|
|
#define STARPU_VECTOR_GET_ELEMSIZE(interface) (((struct starpu_vector_interface *)(interface))->elemsize)
|
|
|
-#ifdef STARPU_OPENMP
|
|
|
#define STARPU_VECTOR_GET_SLICE_BASE(interface) (((struct starpu_vector_interface *)(interface))->slice_base)
|
|
|
-#endif /* STARPU_OPENMP */
|
|
|
|
|
|
struct starpu_variable_interface
|
|
|
{
|