CUDA multi-GPU concurrent tasks queue
Requrements:
- CMake of version 3.10 or higher
mkdir build && cd build
cmake ..
make -j 8
[sudo] make install # to install library into lib directory and header into include (may require sudo)
int N = 42;
//create some tasks
GPUTask * tasks[N];
for (int i = 0; i < N; i++)
tasks[i] = createTask(...); //create task somehow
int devicesCount = 8;
//run all tasks on 8 devices
processTasks(tasks, N, devicesCount);
//then get results back from tasks
...
//there is a flag in processTasks to delete tasks automatically