- 09 Nov, 2020 1 commit
-
-
CARDOSI Paul authored
-
- 05 Nov, 2020 1 commit
-
-
CARDOSI Paul authored
Change sendWorkersTo signature so that it takes a reference to the other compute engine. Renamings in comments.
-
- 04 Nov, 2020 6 commits
-
-
CARDOSI Paul authored
Rename data access mode objects and reorganize source files See merge request bramas/spetabaru!33
-
CARDOSI Paul authored
-
CARDOSI Paul authored
-
CARDOSI Paul authored
-
CARDOSI Paul authored
-
CARDOSI Paul authored
-
- 03 Nov, 2020 2 commits
-
-
CARDOSI Paul authored
Simplify task manager listener notification logic See merge request bramas/spetabaru!32
-
CARDOSI Paul authored
Commit history : Simplify task manager listener notification logic. Assert was in wrong block.
-
- 02 Nov, 2020 2 commits
-
-
CARDOSI Paul authored
Allow the user to create non speculative task graphs See merge request bramas/spetabaru!31
-
CARDOSI Paul authored
Allow the user to create non speculative task graphs (add specialization for non speculative task graphs). Commit history : Add class template specialization for non speculative task graphs. Need to check if data dep objects and callables are really copied or not. Make sure args are copied. Forward correctly. Add unit tests for non speculative task graphs.
-
- 28 Oct, 2020 1 commit
-
-
CARDOSI Paul authored
Fix issue : remove item logic in SpArrayView is wrong See merge request bramas/spetabaru!30
-
- 27 Oct, 2020 3 commits
-
-
CARDOSI Paul authored
Fix issue : lastIdx should be subtracted step in case where the item to be removed is the last element.
-
CARDOSI Paul authored
Implementation of finish method of task graph. See merge request bramas/spetabaru!29
-
CARDOSI Paul authored
History of commit messages: Trying to implement equivalent of taskwait. Strange segfault. Bug is very obscure. Remove uneccessary task graph pointer vector. Add quick sort test. Adjust parameters. Allow a compute engine to be created without any workers. Remove fibonacci and quicksort tests. Simplify locking logic in task insertion. Remove unnecessary condition in thisTaskIsReady method of SpTaskGraph. Fix issue : workers access task graph in postTaskExecution after task graph has already been destroyed. PrioScheduler getNbTasks should return value of atomic counter of ready tasks (to avoid having to acquire mutex in worker loop). Add comments explaining issue. Revert back to old locking scheme.
-
- 09 Sep, 2020 3 commits
-
-
CARDOSI Paul authored
Philox gen clean up See merge request bramas/spetabaru!28
-
CARDOSI Paul authored
-
CARDOSI Paul authored
-
- 08 Sep, 2020 3 commits
-
-
CARDOSI Paul authored
-
CARDOSI Paul authored
-
CARDOSI Paul authored
Rewrite skip function such that there is no overflow when the nb of numbers to skip is very large. Make operator () call counter unsigned to avoid undefined behavior on overflow.
-
- 07 Sep, 2020 5 commits
-
-
BRAMAS Berenger authored
Philox random gen See merge request bramas/spetabaru!26
-
CARDOSI Paul authored
-
CARDOSI Paul authored
-
CARDOSI Paul authored
-
BRAMAS Berenger authored
-
- 04 Sep, 2020 2 commits
-
-
CARDOSI Paul authored
Separate task graph from work execution. See merge request bramas/spetabaru!27
-
CARDOSI Paul authored
Squashed commit messages : Draft. Draft 2. Draft 3. Deadlock. Lock worker lock and compute engine lock in the same order everywhere. Forward SpRuntime nbThreads argument to SpComputeEngine constructor. Remove debug printouts. Lock all locks in scoped ordered lock through a unique_lock instance. Implement svg trace function in SpTaskGraph. Implement stopAllThreads function in SpRuntime. Use plain mutexes in SpScopedOrderedLock. Allow compute engine pointer of worker to be changed by main thread. Remove unnecessary boolean variable. Optimize for the case where workers just keep popping the next task from the same compute engine. Begin work on detachWorkers function. Begin remodeling code to allow workers to be detached. Deadlock. Working version. Remove unnecessary shouldBeMigrated member variable. Properly stop workers and compute engine. Fix broken svg trace generation function. Remove unused classes. Add compute engine and task graph unit tests. Fix avaiable workers logic. Use small_vector in compute engine. Refactor compute engine unit test. Remove redundant synchronization. Forgot to add lock back into bindTo function. Trying to add atomics for most common case (broken). Seems to work. Bind to ce should be release/acquire. Stop flag memroy operations should be memory order relaxed. Load of ce inside mutex protected region should be relaxed. Add comment explaining choice of memory order for atomic load of ce in worker loop. Set thread id in worker constructor. Change comment about ce load memory order. Condition inside waitOnCe was wrong. Forgot to remove duplicate code. Change update logic for waiting worker counters.
-
- 26 Aug, 2020 3 commits
-
-
BRAMAS Berenger authored
-
BRAMAS Berenger authored
-
BRAMAS Berenger authored
-
- 18 Jun, 2020 2 commits
-
-
CARDOSI Paul authored
Fix wrong prototype detection. Workaround gcc this pointer lambda capture bug. See merge request bramas/spetabaru!25
-
CARDOSI Paul authored
Fix wrong prototype detection. Workaround gcc this pointer lambda capture bug and handle clang warnings resulting from workaround.
-
- 03 Jun, 2020 1 commit
-
-
CARDOSI Paul authored
-
- 02 Jun, 2020 2 commits
-
-
CARDOSI Paul authored
Temporary fix for coverage test. See merge request bramas/spetabaru!24
-
CARDOSI Paul authored
-
- 28 May, 2020 2 commits
-
-
CARDOSI Paul authored
Add support for gpu callables on task method interface See merge request bramas/spetabaru!23
-
CARDOSI Paul authored
Patition and check task method call arguments for both tasks created by the user and tasks created internally by the runtime. Replace index_sequence unpacking logic with a foreach_in_tuple template function. Restructure SpRuntime source file. Use g++-8 for ci tests.
-
- 08 Apr, 2020 1 commit
-
-
BRAMAS Berenger authored
-