|
@@ -101,6 +101,21 @@ can also be partitioned with some overlapping by using
|
|
|
starpu_block_filter_block_shadow(), starpu_block_filter_vertical_block_shadow(),
|
|
|
or starpu_block_filter_depth_block_shadow().
|
|
|
|
|
|
+\subsection TensorDataInterface Tensor Data Interface
|
|
|
+
|
|
|
+To register 4-D matrices with potential paddings on Y, Z, and T dimensions,
|
|
|
+one can use the tensor data interface. Here an example of how to
|
|
|
+register a tensor data to StarPU by using starpu_tensor_data_register().
|
|
|
+
|
|
|
+\code{.c}
|
|
|
+float *block;
|
|
|
+starpu_data_handle_t block_handle;
|
|
|
+block = (float*)malloc(nx*ny*nz*nt*sizeof(float));
|
|
|
+starpu_tensor_data_register(&block_handle, STARPU_MAIN_RAM, (uintptr_t)block, nx, nx*ny, nx*ny*nz, nx, ny, nz, nt, sizeof(float));
|
|
|
+\endcode
|
|
|
+
|
|
|
+Partitioning filters are not implemented yet.
|
|
|
+
|
|
|
\subsection BCSRDataInterface BCSR Data Interface
|
|
|
|
|
|
BCSR (Blocked Compressed Sparse Row Representation) sparse matrix data
|