Commit c0216a84 authored by CARDOSI Paul's avatar CARDOSI Paul
Browse files

Reorganize files.

parent 3f235180
......@@ -5,11 +5,11 @@
#include <iostream>
#include "Utils/SpModes.hpp"
#include "Data/SpDataAccessMode.hpp"
#include "Utils/SpUtils.hpp"
#include "Tasks/SpTask.hpp"
#include "Runtimes/SpRuntime.hpp"
#include "Task/SpTask.hpp"
#include "Legacy/SpRuntime.hpp"
#include "Utils/SpTimer.hpp"
#include "Utils/small_vector.hpp"
......
......@@ -5,11 +5,11 @@
#include <iostream>
#include "Utils/SpModes.hpp"
#include "Data/SpDataAccessMode.hpp"
#include "Utils/SpUtils.hpp"
#include "Tasks/SpTask.hpp"
#include "Runtimes/SpRuntime.hpp"
#include "Task/SpTask.hpp"
#include "Legacy/SpRuntime.hpp"
int main(){
const int NumThreads = SpUtils::DefaultNumThreads();
......
......@@ -6,10 +6,10 @@
#include <random>
#include <cassert>
#include "Utils/SpModes.hpp"
#include "Data/SpDataAccessMode.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;
......
......@@ -3,11 +3,11 @@
// Under LGPL Licence, please you must read the LICENCE file.
///////////////////////////////////////////////////////////////////////////
#include "Utils/SpModes.hpp"
#include "Data/SpDataAccessMode.hpp"
#include "Utils/SpUtils.hpp"
#include "Tasks/SpTask.hpp"
#include "Runtimes/SpRuntime.hpp"
#include "Task/SpTask.hpp"
#include "Legacy/SpRuntime.hpp"
int main(){
std::cout << "Example 1:" << std::endl;
......
///////////////////////////////////////////////////////////////////////////
// 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;
}
......@@ -5,11 +5,11 @@
#include <iostream>
#include "Utils/SpModes.hpp"
#include "Data/SpDataAccessMode.hpp"
#include "Utils/SpUtils.hpp"
#include "Tasks/SpTask.hpp"
#include "Runtimes/SpRuntime.hpp"
#include "Task/SpTask.hpp"
#include "Legacy/SpRuntime.hpp"
#include "Buffer/SpBufferDataView.hpp"
#include "Utils/small_vector.hpp"
......
......@@ -5,11 +5,11 @@
#include <iostream>
#include "Utils/SpModes.hpp"
#include "Data/SpDataAccessMode.hpp"
#include "Utils/SpUtils.hpp"
#include "Tasks/SpTask.hpp"
#include "Runtimes/SpRuntime.hpp"
#include "Task/SpTask.hpp"
#include "Legacy/SpRuntime.hpp"
#include "Buffer/SpBufferDataView.hpp"
#include "Buffer/SpHeapBuffer.hpp"
......
......@@ -5,11 +5,11 @@
#include <iostream>
#include "Utils/SpModes.hpp"
#include "Data/SpDataAccessMode.hpp"
#include "Utils/SpUtils.hpp"
#include "Tasks/SpTask.hpp"
#include "Runtimes/SpRuntime.hpp"
#include "Task/SpTask.hpp"
#include "Legacy/SpRuntime.hpp"
int main(){
const int NumThreads = SpUtils::DefaultNumThreads();
......
......@@ -5,12 +5,12 @@
#include <iostream>
#include "Utils/SpModes.hpp"
#include "Data/SpDataAccessMode.hpp"
#include "Utils/SpUtils.hpp"
#include "Utils/SpTimer.hpp"
#include "Tasks/SpTask.hpp"
#include "Runtimes/SpRuntime.hpp"
#include "Task/SpTask.hpp"
#include "Legacy/SpRuntime.hpp"
#include "Random/SpPhiloxGenerator.hpp"
#include "Utils/small_vector.hpp"
......
......@@ -5,11 +5,11 @@
#include <iostream>
#include "Utils/SpModes.hpp"
#include "Data/SpDataAccessMode.hpp"
#include "Utils/SpUtils.hpp"
#include "Tasks/SpTask.hpp"
#include "Runtimes/SpRuntime.hpp"
#include "Task/SpTask.hpp"
#include "Legacy/SpRuntime.hpp"
#include "Random/SpPhiloxGenerator.hpp"
#include "Utils/small_vector.hpp"
......
......@@ -5,12 +5,12 @@
#include <iostream>
#include "Utils/SpModes.hpp"
#include "Data/SpDataAccessMode.hpp"
#include "Utils/SpUtils.hpp"
#include "Utils/SpTimer.hpp"
#include "Tasks/SpTask.hpp"
#include "Runtimes/SpRuntime.hpp"
#include "Task/SpTask.hpp"
#include "Legacy/SpRuntime.hpp"
#include "Random/SpPhiloxGenerator.hpp"
#include "Utils/small_vector.hpp"
......
......@@ -5,11 +5,11 @@
#include <iostream>
#include "Utils/SpModes.hpp"
#include "Data/SpDataAccessMode.hpp"
#include "Utils/SpUtils.hpp"
#include "Tasks/SpTask.hpp"
#include "Runtimes/SpRuntime.hpp"
#include "Task/SpTask.hpp"
#include "Legacy/SpRuntime.hpp"
#include "Random/SpPhiloxGenerator.hpp"
#include "Utils/small_vector.hpp"
......
......@@ -3,11 +3,11 @@
// Under LGPL Licence, please you must read the LICENCE file.
///////////////////////////////////////////////////////////////////////////
#include "Utils/SpModes.hpp"
#include "Data/SpDataAccessMode.hpp"
#include "Utils/SpUtils.hpp"
#include "Tasks/SpTask.hpp"
#include "Runtimes/SpRuntime.hpp"
#include "Task/SpTask.hpp"
#include "Legacy/SpRuntime.hpp"
int main(){
std::cout << "Example basis:" << std::endl;
......
......@@ -4,7 +4,7 @@
#include "SpComputeEngine.hpp"
#include "TaskGraph/SpAbstractTaskGraph.hpp"
#include "Tasks/SpAbstractTask.hpp"
#include "Task/SpAbstractTask.hpp"
#include "SpWorker.hpp"
void SpComputeEngine::stopIfNotAlreadyStopped() {
......
......@@ -9,7 +9,7 @@
#include <atomic>
#include "Compute/SpWorker.hpp"
#include "Schedulers/SpPrioScheduler.hpp"
#include "Scheduler/SpPrioScheduler.hpp"
#include "Utils/small_vector.hpp"
class SpAbstractTaskGraph;
......
......@@ -6,9 +6,9 @@
#include <condition_variable>
#include <thread>
#include "Utils/SpModes.hpp"
#include "Data/SpDataAccessMode.hpp"
#include "Utils/SpUtils.hpp"
#include "Tasks/SpAbstractTask.hpp"
#include "Task/SpAbstractTask.hpp"
#include "Utils/small_vector.hpp"
class SpComputeEngine;
......
......@@ -2,15 +2,15 @@
// Spetabaru - Berenger Bramas MPCDF - 2017
// Under LGPL Licence, please you must read the LICENCE file.
///////////////////////////////////////////////////////////////////////////
#ifndef SPMODES_HPP
#define SPMODES_HPP
#ifndef SPDATAACCESSMODE_HPP
#define SPDATAACCESSMODE_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"
......
......@@ -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"
......
......@@ -10,7 +10,7 @@
#include <cassert>
#include <algorithm>
#include "Utils/SpModes.hpp"
#include "Data/SpDataAccessMode.hpp"
#include "Utils/small_vector.hpp"
// Reference
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment