Nathalie Furmento
|
30c203aa9f
datawizard: starpu_malloc and starpu_free no longer count the size of
|
12 gadi atpakaļ |
Nathalie Furmento
|
94cd5e98eb
data interface: update the prototype of the function pack_data to be able to return a negative value for the size
|
12 gadi atpakaļ |
Nathalie Furmento
|
63423b6e8a
New include file starpu_stdlib.h to define functions to allocate and free dynamic memory
|
12 gadi atpakaļ |
Samuel Thibault
|
ed1bcb3d3a
Fix disabling asynchronous copy for any_to_any. Instead of modifying the copy structure, test the flag before invoking the functions.
|
12 gadi atpakaļ |
Nathalie Furmento
|
f8c037df9d
data interface: define the value STARPU_UNKNOWN_INTERFACE_ID to be used by newly defined user-defined data interfaces
|
12 gadi atpakaļ |
Samuel Thibault
|
4638dc22ca
reorder handle/node/offset parameters, to keep handle/offset together, unlike the OpenCL standard...
|
12 gadi atpakaļ |
Samuel Thibault
|
de6deb09f5
Introduce the starpu_interface_copy helper, and the any_to_any copy method, which permits to factorize a lot of interface code.
|
12 gadi atpakaļ |
Nathalie Furmento
|
c7321a76ff
fix type for node to always be unsigned (instead of uint32_t)
|
12 gadi atpakaļ |
Nathalie Furmento
|
2faf1c758e
data interfaces: remove references to functions which copy to and from SPU devices
|
12 gadi atpakaļ |
Samuel Thibault
|
2b30d49db1
Make it possible to use simgrid without having CUDA/OpenCL installed
|
12 gadi atpakaļ |
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ļ |