Samuel Thibault
|
57ac315b6d
Import MIC/SCC work from Nicolas, Damien, Brice and Ludovic, reworked a bit. Not even compiled on MIC/SCC yet
|
12 years ago |
Nathalie Furmento
|
30860cac02
Renaming of diverse functions and datatypes.
|
12 years ago |
Nathalie Furmento
|
2cb9fcd148
use starpu_ssize_t instead of ssize_t to be windows-able
|
12 years ago |
Nathalie Furmento
|
6021863a0a
Rename function starpu_allocate_buffer_on_node to starpu_malloc_on_node
|
12 years ago |
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 years ago |
Samuel Thibault
|
4638dc22ca
reorder handle/node/offset parameters, to keep handle/offset together, unlike the OpenCL standard...
|
12 years ago |
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 years ago |
Samuel Thibault
|
a9c2260176
Separate OpenCL source and destination offsets in starpu_opencl_copy_opencl_to_opencl and starpu_opencl_copy_async_sync, and document these.
|
12 years ago |
Samuel Thibault
|
442950f357
factorize yet more interface functions
|
12 years ago |
Samuel Thibault
|
e4041bf5cb
copy_cuda_async_sync already handles the peer case, simply use it
|
12 years ago |
Samuel Thibault
|
6b31fc397f
Factorize opencl_to_opencl transfer functions
|
12 years ago |
Nathalie Furmento
|
c7321a76ff
fix type for node to always be unsigned (instead of uint32_t)
|
12 years ago |
Nathalie Furmento
|
b770541f52
src: memory_nodes function renaming
|
12 years ago |
Nathalie Furmento
|
2faf1c758e
data interfaces: remove references to functions which copy to and from SPU devices
|
12 years ago |
Samuel Thibault
|
2b30d49db1
Make it possible to use simgrid without having CUDA/OpenCL installed
|
12 years ago |
Sylvain Henry
|
f6343f82df
Revert "src/drivers/opencl/driver_opencl.c: fix indentation"
|
12 years ago |
Nathalie Furmento
|
4f7846907f
src/datawizard/interfaces/variable_interface.c: fix indentation
|
12 years ago |
Sylvain Henry
|
ad9cf13cfd
OpenCL on CPU hack for SOCL
|
12 years ago |
Nathalie Furmento
|
8fdc9fbc75
add parameter size to function starpu_free_buffer_on_node()
|
13 years ago |
Cyril Roelandt
|
5d5718b046
Variable interface: fix the arguments of starpu_free_buffer_on_node().
|
13 years ago |
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
|
13 years ago |
Samuel Thibault
|
da1ded45cf
Add _starpu_free_buffer_on_node, to be used by all interfaces to simplify data release
|
13 years ago |
Samuel Thibault
|
b7a026b908
Add _starpu_allocate_buffer_on_node, to be used by all interfaces to simplify allocation
|
13 years ago |
Cyril Roelandt
|
e59b6b6388
Interfaces: Check the return value of cudaMalloc and cudaFree.
|
13 years ago |
Cyril Roelandt
|
b03b794ef6
Interfaces: check the return value of clReleaseMemObject().
|
13 years ago |
Nathalie Furmento
|
8ef31f4109
src/datawizard/interfaces: use cl_event instead of void for the opencl copy functions (see r7230)
|
13 years ago |
Nathalie Furmento
|
e06e60e42b
src/datawizard/interfaces: use new function starpu_cuda_copy_async_sync
|
13 years ago |
Nathalie Furmento
|
7eccca1c90
OpenCL Driver: only keep one function in public interface to do the copy, there is no need to try a synchronous copy after a asynchronous copy has failed
|
13 years ago |
Samuel Thibault
|
4dc472d777
Make copy_methods non-const, to let asynchronous_copy_disable be able to modify it
|
13 years ago |
Cyril Roelandt
|
f70742364e
src/datawizard/interfaces/*_interface.c: Use STARPU_ABORT() rather than STARPU_ASSERT(0) when finding an invalid node kind.
|
13 years ago |