Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
Loading items

Target

Select target project
0 results Searching
Select Git revision
Loading items
Show changes

Commits on Source 105

5 additional commits have been omitted to prevent performance issues.
78 files
+ 9164
39
Compare changes
  • Side-by-side
  • Inline

Files

+6 −1
Original line number Original line Diff line number Diff line
@@ -56,9 +56,12 @@ endmacro()


emper_option(WORKER_SLEEP "Enable sleeping worker support")
emper_option(WORKER_SLEEP "Enable sleeping worker support")
emper_option(LOCKED_WS_QUEUE "Use a fully locked queue for work-stealing")
emper_option(LOCKED_WS_QUEUE "Use a fully locked queue for work-stealing")
emper_option(LOCKED_FIBRIL "Use a fully locked Fibril. Only works with locked work-stealing queues")
emper_option(OVERFLOW_QUEUE "Use a overflow queue in case the primary queue is full")
emper_option(OVERFLOW_QUEUE "Use a overflow queue in case the primary queue is full")
emper_option(LOCKED_MPSC_QUEUE "Use the locked variant for the MPSC queue")
emper_option(LOCKED_MPSC_QUEUE "Use the locked variant for the MPSC queue")
emper_option(STATS "Collect stats and print them at the end of the execution")
emper_option(STATS "Collect stats and print them at the end of the execution")
emper_option(MADVISE "Use madvise(MADV_DONTNEED) to unmap unused stack pages. Bound memory consumption")
emper_option(CM_WITH_MEMORY_MANAGER "Use context manager with a memory manager")


# Macro to add files to a var. Can even be used in subdirectories.
# Macro to add files to a var. Can even be used in subdirectories.
# Source: http://stackoverflow.com/a/7049380/194894
# Source: http://stackoverflow.com/a/7049380/194894
@@ -108,12 +111,14 @@ add_library(c_emper STATIC ${C_EMPER_SOURCE})
# set_property(TARGET c_emper PROPERTY INTERPROCEDURAL_OPTIMIZATION True)
# set_property(TARGET c_emper PROPERTY INTERPROCEDURAL_OPTIMIZATION True)
target_link_libraries(c_emper emper)
target_link_libraries(c_emper emper)


add_subdirectory("lib")
#add_subdirectory("lib")


add_subdirectory("apps")
add_subdirectory("apps")


add_subdirectory("tests")
add_subdirectory("tests")


add_subdirectory("benchmarks")

add_subdirectory("eval")
add_subdirectory("eval")


file(GLOB ALL_SOURCE_FILES *.cpp)
file(GLOB ALL_SOURCE_FILES *.cpp)
+5 −1
Original line number Original line Diff line number Diff line
@@ -23,7 +23,11 @@ debug release relwithdebug:
	rm -f build
	rm -f build
	ln -rs build-$@ build
	ln -rs build-$@ build
	cd build-$@; \
	cd build-$@; \
		[[ -f CMakeCache.txt ]] || cmake -DCMAKE_BUILD_TYPE=$@ .. \
		[[ -f CMakeCache.txt ]] || cmake -DCMAKE_BUILD_TYPE=$@ \
		-DEMPER_CM_WITH_MEMORY_MANAGER=OFF \
		-DEMPER_LOCKED_WS_QUEUE=OFF \
		-DEMPER_LOCKED_FIBRIL=OFF \
		-DEMPER_MADVISE=OFF .. \
		&& make $(COMMON_MAKE_ARGS)
		&& make $(COMMON_MAKE_ARGS)


reldebug: relwithdebug
reldebug: relwithdebug
+17 −0
Original line number Original line Diff line number Diff line

add_subdirectory(tbb)

add_subdirectory(openmp)

add_subdirectory(serial)

add_subdirectory(emper_continuation)

add_subdirectory(emper_fiber)

add_subdirectory(fibril)

add_subdirectory(fibril_lf)

#add_subdirectory(cilkplus)