Samuel Thibault
|
159317c1dc
Make starpu_interface_matrix_ops public
|
12 gadi atpakaļ |
Nathalie Furmento
|
b76878506b
include: use tabs instead of spaces
|
12 gadi atpakaļ |
Nathalie Furmento
|
8fdc9fbc75
add parameter size to function starpu_free_buffer_on_node()
|
12 gadi atpakaļ |
Samuel Thibault
|
ab7c89dbe8
expose starpu_allocate_buffer_on_node and starpu_free_buffer_on_node to application, so application-defined interfaces can use them too
|
12 gadi atpakaļ |
Nathalie Furmento
|
ae2ffeec76
data interface: add parameter count to unpack operation
|
12 gadi atpakaļ |
Nathalie Furmento
|
4403f33f43
data interfaces: the pack operation of user-defined data interfaces now defines a count parameter which should be set to thesize of the buffer created by the packing of the data
|
12 gadi atpakaļ |
Nathalie Furmento
|
1572543957
data interface: add new parameter count to function starpu_handle_pack_data()
|
12 gadi atpakaļ |
Nathalie Furmento
|
75a53b3d3f
include/starpu_data_interfaces.h: fix format
|
12 gadi atpakaļ |
Cyril Roelandt
|
767521cd73
Add dummy XXX_GET_DEV_HANDLE and XXX_GET_OFFSET macros for the interfaces.
|
12 gadi atpakaļ |
Cyril Roelandt
|
81549ea081
Add a new interface: COO matrix.
|
12 gadi atpakaļ |
Cyril Roelandt
|
612a56a6fd
Fix function prototypes in headers to reflect the changes brought by r.7415.
|
12 gadi atpakaļ |
Nathalie Furmento
|
8c3c7ccb3f
include/starpu_data_interfaces.h: starpu.h already includes starpu_opencl.h (see r7086)
|
12 gadi atpakaļ |
Cyril Roelandt
|
08d2719c43
Use "cl_event" instead of "void" in starpu_data_interfaces.h, since this is the real type.
|
12 gadi atpakaļ |
Nathalie Furmento
|
29a60d5852
Data interface: define new functions to pack and unpack data handles
|
12 gadi atpakaļ |
Samuel Thibault
|
c7c3522023
Add missing hook from previous commit
|
13 gadi atpakaļ |
Nathalie Furmento
|
adbf430bab
definition of datatypes struct starpu_multiformat_data_interface_ops and struct starpu_multiformat_interface are always the same and do not depend on which device is enabled
|
13 gadi atpakaļ |
Nathalie Furmento
|
4442d47422
Get rid off operation allocate_new_data defined in struct starpu_data_interface_ops, and define instead a generic function
|
13 gadi atpakaļ |
Cyril Roelandt
|
2a7b2708ad
Fix typo.
|
13 gadi atpakaļ |
Nathalie Furmento
|
203765dbd8
Data interface: add new function int starpu_data_interface_get_next_id() which returns the next id available for a data interface. That ensures different data interface registered by application all have different ids.
|
13 gadi atpakaļ |
Samuel Thibault
|
7733a5cb3c
Rename STARPU_MULTIFORMAT_GET_PTR into STARPU_MULTIFORMAT_GET_CPU_PTR, for coherency with the other macros
|
13 gadi atpakaļ |
Nathalie Furmento
|
0eae3162bc
data interface: Operations on a data interface (i.e. struct
|
13 gadi atpakaļ |
Cyril Roelandt
|
b6df6beea3
Renaming public functions :
|
13 gadi atpakaļ |
Cyril Roelandt
|
885215433f
Replace the public function starpu_data_is_multiformat_handle by a private function _starpu_data_is_multiformat_handle.
|
13 gadi atpakaļ |
Nathalie Furmento
|
367a594534
include: doc: update function prototypes to be similar in doc and include
|
13 gadi atpakaļ |
Cyril Roelandt
|
4865cd03ab
The users should not be able to provide their own copy methods without defining a new interface.
|
13 gadi atpakaļ |
Cyril Roelandt
|
6cf1b9da9d
Turn starpu_is_multiformat_handle into starpu_data_is_multiformat_handle.
|
13 gadi atpakaļ |
Cyril Roelandt
|
26837d338b
Add a get_mf_ops function to the interfaces, so that they can return the multiformat-releated helpers.
|
13 gadi atpakaļ |
Cyril Roelandt
|
e332089751
Do not compare and interface identifier to STARPU_MULTIFORMAT_ID to determine whether the interface uses multiple format. This allows other interfaces to use multiple formats and to trigger the creation of conversion tasks.
|
13 gadi atpakaļ |
Cyril Roelandt
|
ac859c1e11
Multiformat : filter example.
|
13 gadi atpakaļ |
Samuel Thibault
|
08f4ce1f07
Fix in-place partitioning for OpenCL. OpenCL codelets are not supposed to use the ptr pointer, since in OpenCL we only have a cl_mem
|
13 gadi atpakaļ |