Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BRAMAS Berenger
spetabaru
Commits
c0216a84
Commit
c0216a84
authored
Nov 04, 2020
by
CARDOSI Paul
Browse files
Reorganize files.
parent
3f235180
Changes
59
Hide whitespace changes
Inline
Side-by-side
Examples/Basic/benchmark.cpp
View file @
c0216a84
...
...
@@ -5,11 +5,11 @@
#include
<iostream>
#include
"
Utils/Sp
Mode
s
.hpp"
#include
"
Data/SpDataAccess
Mode.hpp"
#include
"Utils/SpUtils.hpp"
#include
"Task
s
/SpTask.hpp"
#include
"
Runtimes
/SpRuntime.hpp"
#include
"Task/SpTask.hpp"
#include
"
Legacy
/SpRuntime.hpp"
#include
"Utils/SpTimer.hpp"
#include
"Utils/small_vector.hpp"
...
...
Examples/Basic/daggraph.cpp
View file @
c0216a84
...
...
@@ -5,11 +5,11 @@
#include
<iostream>
#include
"
Utils/Sp
Mode
s
.hpp"
#include
"
Data/SpDataAccess
Mode.hpp"
#include
"Utils/SpUtils.hpp"
#include
"Task
s
/SpTask.hpp"
#include
"
Runtimes
/SpRuntime.hpp"
#include
"Task/SpTask.hpp"
#include
"
Legacy
/SpRuntime.hpp"
int
main
(){
const
int
NumThreads
=
SpUtils
::
DefaultNumThreads
();
...
...
Examples/Basic/getting-started.cpp
View file @
c0216a84
...
...
@@ -6,10 +6,10 @@
#include
<random>
#include
<cassert>
#include
"
Utils/Sp
Mode
s
.hpp"
#include
"
Data/SpDataAccess
Mode.hpp"
#include
"Utils/SpPriority.hpp"
#include
"Utils/SpProbability.hpp"
#include
"
Runtimes
/SpRuntime.hpp"
#include
"
Legacy
/SpRuntime.hpp"
[[
maybe_unused
]]
const
size_t
seedSpeculationSuccess
=
42
;
[[
maybe_unused
]]
const
size_t
seedSpeculationFailure
=
0
;
...
...
Examples/Basic/maybe-write-model-2.cpp
View file @
c0216a84
...
...
@@ -3,11 +3,11 @@
// Under LGPL Licence, please you must read the LICENCE file.
///////////////////////////////////////////////////////////////////////////
#include
"
Utils/Sp
Mode
s
.hpp"
#include
"
Data/SpDataAccess
Mode.hpp"
#include
"Utils/SpUtils.hpp"
#include
"Task
s
/SpTask.hpp"
#include
"
Runtimes
/SpRuntime.hpp"
#include
"Task/SpTask.hpp"
#include
"
Legacy
/SpRuntime.hpp"
int
main
(){
std
::
cout
<<
"Example 1:"
<<
std
::
endl
;
...
...
Examples/Basic/tasksinsertion.cpp
deleted
100644 → 0
View file @
3f235180
///////////////////////////////////////////////////////////////////////////
// Spetabaru - Berenger Bramas MPCDF - 2017
// Under LGPL Licence, please you must read the LICENCE file.
///////////////////////////////////////////////////////////////////////////
#include
<iostream>
#include
"Utils/SpModes.hpp"
#include
"Utils/SpUtils.hpp"
#include
"Tasks/SpTask.hpp"
#include
"Runtimes/SpRuntime.hpp"
int
main
(){
return
0
;
}
Examples/Basic/tempbuffer.cpp
View file @
c0216a84
...
...
@@ -5,11 +5,11 @@
#include
<iostream>
#include
"
Utils/Sp
Mode
s
.hpp"
#include
"
Data/SpDataAccess
Mode.hpp"
#include
"Utils/SpUtils.hpp"
#include
"Task
s
/SpTask.hpp"
#include
"
Runtimes
/SpRuntime.hpp"
#include
"Task/SpTask.hpp"
#include
"
Legacy
/SpRuntime.hpp"
#include
"Buffer/SpBufferDataView.hpp"
#include
"Utils/small_vector.hpp"
...
...
Examples/Basic/tempheapbuffer.cpp
View file @
c0216a84
...
...
@@ -5,11 +5,11 @@
#include
<iostream>
#include
"
Utils/Sp
Mode
s
.hpp"
#include
"
Data/SpDataAccess
Mode.hpp"
#include
"Utils/SpUtils.hpp"
#include
"Task
s
/SpTask.hpp"
#include
"
Runtimes
/SpRuntime.hpp"
#include
"Task/SpTask.hpp"
#include
"
Legacy
/SpRuntime.hpp"
#include
"Buffer/SpBufferDataView.hpp"
#include
"Buffer/SpHeapBuffer.hpp"
...
...
Examples/Basic/tracegeneration.cpp
View file @
c0216a84
...
...
@@ -5,11 +5,11 @@
#include
<iostream>
#include
"
Utils/Sp
Mode
s
.hpp"
#include
"
Data/SpDataAccess
Mode.hpp"
#include
"Utils/SpUtils.hpp"
#include
"Task
s
/SpTask.hpp"
#include
"
Runtimes
/SpRuntime.hpp"
#include
"Task/SpTask.hpp"
#include
"
Legacy
/SpRuntime.hpp"
int
main
(){
const
int
NumThreads
=
SpUtils
::
DefaultNumThreads
();
...
...
Examples/MC/mc.cpp
View file @
c0216a84
...
...
@@ -5,12 +5,12 @@
#include
<iostream>
#include
"
Utils/Sp
Mode
s
.hpp"
#include
"
Data/SpDataAccess
Mode.hpp"
#include
"Utils/SpUtils.hpp"
#include
"Utils/SpTimer.hpp"
#include
"Task
s
/SpTask.hpp"
#include
"
Runtimes
/SpRuntime.hpp"
#include
"Task/SpTask.hpp"
#include
"
Legacy
/SpRuntime.hpp"
#include
"Random/SpPhiloxGenerator.hpp"
#include
"Utils/small_vector.hpp"
...
...
Examples/MC/mcCollide.cpp
View file @
c0216a84
...
...
@@ -5,11 +5,11 @@
#include
<iostream>
#include
"
Utils/Sp
Mode
s
.hpp"
#include
"
Data/SpDataAccess
Mode.hpp"
#include
"Utils/SpUtils.hpp"
#include
"Task
s
/SpTask.hpp"
#include
"
Runtimes
/SpRuntime.hpp"
#include
"Task/SpTask.hpp"
#include
"
Legacy
/SpRuntime.hpp"
#include
"Random/SpPhiloxGenerator.hpp"
#include
"Utils/small_vector.hpp"
...
...
Examples/MC/remc.cpp
View file @
c0216a84
...
...
@@ -5,12 +5,12 @@
#include
<iostream>
#include
"
Utils/Sp
Mode
s
.hpp"
#include
"
Data/SpDataAccess
Mode.hpp"
#include
"Utils/SpUtils.hpp"
#include
"Utils/SpTimer.hpp"
#include
"Task
s
/SpTask.hpp"
#include
"
Runtimes
/SpRuntime.hpp"
#include
"Task/SpTask.hpp"
#include
"
Legacy
/SpRuntime.hpp"
#include
"Random/SpPhiloxGenerator.hpp"
#include
"Utils/small_vector.hpp"
...
...
Examples/MC/remcCollide.cpp
View file @
c0216a84
...
...
@@ -5,11 +5,11 @@
#include
<iostream>
#include
"
Utils/Sp
Mode
s
.hpp"
#include
"
Data/SpDataAccess
Mode.hpp"
#include
"Utils/SpUtils.hpp"
#include
"Task
s
/SpTask.hpp"
#include
"
Runtimes
/SpRuntime.hpp"
#include
"Task/SpTask.hpp"
#include
"
Legacy
/SpRuntime.hpp"
#include
"Random/SpPhiloxGenerator.hpp"
#include
"Utils/small_vector.hpp"
...
...
Examples/Slides/examples.cpp
View file @
c0216a84
...
...
@@ -3,11 +3,11 @@
// Under LGPL Licence, please you must read the LICENCE file.
///////////////////////////////////////////////////////////////////////////
#include
"
Utils/Sp
Mode
s
.hpp"
#include
"
Data/SpDataAccess
Mode.hpp"
#include
"Utils/SpUtils.hpp"
#include
"Task
s
/SpTask.hpp"
#include
"
Runtimes
/SpRuntime.hpp"
#include
"Task/SpTask.hpp"
#include
"
Legacy
/SpRuntime.hpp"
int
main
(){
std
::
cout
<<
"Example basis:"
<<
std
::
endl
;
...
...
Src/Compute/SpComputeEngine.cpp
View file @
c0216a84
...
...
@@ -4,7 +4,7 @@
#include
"SpComputeEngine.hpp"
#include
"TaskGraph/SpAbstractTaskGraph.hpp"
#include
"Task
s
/SpAbstractTask.hpp"
#include
"Task/SpAbstractTask.hpp"
#include
"SpWorker.hpp"
void
SpComputeEngine
::
stopIfNotAlreadyStopped
()
{
...
...
Src/Compute/SpComputeEngine.hpp
View file @
c0216a84
...
...
@@ -9,7 +9,7 @@
#include
<atomic>
#include
"Compute/SpWorker.hpp"
#include
"Scheduler
s
/SpPrioScheduler.hpp"
#include
"Scheduler/SpPrioScheduler.hpp"
#include
"Utils/small_vector.hpp"
class
SpAbstractTaskGraph
;
...
...
Src/Compute/SpWorker.hpp
View file @
c0216a84
...
...
@@ -6,9 +6,9 @@
#include
<condition_variable>
#include
<thread>
#include
"
Utils/Sp
Mode
s
.hpp"
#include
"
Data/SpDataAccess
Mode.hpp"
#include
"Utils/SpUtils.hpp"
#include
"Task
s
/SpAbstractTask.hpp"
#include
"Task/SpAbstractTask.hpp"
#include
"Utils/small_vector.hpp"
class
SpComputeEngine
;
...
...
Src/
Utils/Sp
Mode
s
.hpp
→
Src/
Data/SpDataAccess
Mode.hpp
View file @
c0216a84
...
...
@@ -2,15 +2,15 @@
// Spetabaru - Berenger Bramas MPCDF - 2017
// Under LGPL Licence, please you must read the LICENCE file.
///////////////////////////////////////////////////////////////////////////
#ifndef SPMODE
S
_HPP
#define SPMODE
S
_HPP
#ifndef SP
DATAACCESS
MODE_HPP
#define SP
DATAACCESS
MODE_HPP
#include
<type_traits>
#include
<array>
#include
"Config/SpConfig.hpp"
#include
"SpArrayView.hpp"
#include
"SpDebug.hpp"
#include
"
Utils/
SpArrayView.hpp"
#include
"
Utils/
SpDebug.hpp"
#include
"Data/SpDataDuplicator.hpp"
#include
"Utils/SpArrayAccessor.hpp"
#include
"Utils/small_vector.hpp"
...
...
Src/Data/SpDataHandle.hpp
View file @
c0216a84
...
...
@@ -10,7 +10,7 @@
#include
<mutex>
#include
<atomic>
#include
"
Runtimes/
SpDependence.hpp"
#include
"SpDependence.hpp"
#include
"Utils/SpUtils.hpp"
#include
"Data/SpDataDuplicator.hpp"
#include
"Utils/small_vector.hpp"
...
...
Src/
Runtimes
/SpDependence.hpp
→
Src/
Data
/SpDependence.hpp
View file @
c0216a84
...
...
@@ -10,7 +10,7 @@
#include
<cassert>
#include
<algorithm>
#include
"
Utils/Sp
Mode
s
.hpp"
#include
"
Data/SpDataAccess
Mode.hpp"
#include
"Utils/small_vector.hpp"
// Reference
...
...
Src/
Runtimes
/SpRuntime.hpp
→
Src/
Legacy
/SpRuntime.hpp
View file @
c0216a84
File moved
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment