Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/sst/elements/carcosa/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
tests/pingpong
tests/fourstate

tests/*.log
tests/stdout-*
tests/stderr-*
tests/tmp/

*.bak
123 changes: 111 additions & 12 deletions src/sst/elements/carcosa/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@ comp_LTLIBRARIES = libcarcosa.la
libcarcosa_la_SOURCES = \
components/hali.cc \
components/hali.h \
components/eccGuard.cc \
components/eccGuard.h \
components/eccPayloadCorruptor.cc \
components/eccPayloadCorruptor.h \
components/eccModelMath.h \
components/criticalActionWatcher.cc \
components/criticalActionWatcher.h \
components/eccScheme.h \
components/eccPolicy.h \
components/componentTestBounds.h \
components/configParse.h \
components/actionScorer.cc \
components/actionScorer.h \
components/faultInjManager.cc \
components/faultInjManager.h \
injectors/faultInjectorBase.cc \
Expand All @@ -25,6 +38,8 @@ libcarcosa_la_SOURCES = \
injectors/randomFlipFaultInjector.h \
injectors/dropFlipFaultInjector.cc \
injectors/dropFlipFaultInjector.h \
injectors/portModuleStateGate.cc \
injectors/portModuleStateGate.h \
injectors/faultInjectorMemH.cc \
injectors/faultInjectorMemH.h \
faultlogic/faultBase.cc \
Expand All @@ -50,19 +65,57 @@ libcarcosa_la_SOURCES = \
components/faultInjEvent.h \
components/faultInjManagerAPI.h \
components/interceptionAgentAPI.h \
components/hyadesProtocol.h \
components/pipelineStateRegistry.h \
components/pingPongAgent.cc \
components/pingPongAgent.h \
components/fourStateAgent.cc \
components/fourStateAgent.h \
components/framePipelineDriver.cc \
components/framePipelineDriver.h \
components/regressionTestComponents.cc \
components/regressionTestComponents.h \
components/vlaRegions.h \
components/carcosaMemCtrl.cc \
components/carcosaMemCtrl.h \
components/sensorComponent.cc \
components/sensorComponent.h \
components/sensorComponent.h \
components/sensorEvent.h \
components/haliEvent.h
components/haliEvent.h \
components/ringProtocol.h \
components/carcosaHash.h \
examples/SimplePipeline/simplePipelineExample.cc \
examples/SimplePipeline/simplePipelineExample.h \
examples/MmioControl/mmioControlExample.cc \
examples/MmioControl/mmioControlExample.h

# Optional balar ring bridge: compiled into libcarcosa only when GPGPU-Sim/balar
# is available (SST_CARCOSA_HAVE_BALAR, set by configure.m4 -> HAVE_BALAR_BRIDGE).
# Header-only dependency on balar's packet ABI, so only the CUDA include path is
# added here (no GPGPU-Sim libs). A checkout with no balar/ builds libcarcosa
# unchanged with the bridge compiled out.
if SST_CARCOSA_HAVE_BALAR
libcarcosa_la_SOURCES += \
components/balarRingBridge.cc \
components/balarRingBridge.h \
components/balarTraceParser.cc \
components/balarTraceParser.h
# HAVE_BALAR_BRIDGE is passed on the command line (like balar's own -DHAVE_CUDA=1
# in CUDA_CPPFLAGS) rather than via sst_element_config.h, which element sources do
# not include. CUDA_CPPFLAGS carries the CUDA include path for balar's packet headers.
AM_CPPFLAGS += $(CUDA_CPPFLAGS) -DHAVE_BALAR_BRIDGE=1
endif

EXTRA_DIST = \
hyades.h \
tests/pingpong.c \
tests/testcarcosaPingPong.py \
tests/fourstate.c \
tests/testCarcosaPingPong.py \
tests/testFourStateRegistry.py \
tests/testFourStateRegistryGated.py \
examples/SimplePipeline/tests/testSimplePipeline.py \
examples/SimplePipeline/tests/testPortModuleStateGate.py \
examples/MmioControl/tests/testMmioControl.py \
tests/testCorruptMemBasic.py \
tests/testCorruptMemDouble.py \
tests/testCorruptMemDoubleOverlap.py \
Expand All @@ -73,11 +126,39 @@ EXTRA_DIST = \
tests/testStuckAtOverlap.py \
tests/testStuckAtSameByte.py \
tests/mhlib.py \
tests/testdynamicPM.py \
tests/testhaliBacking.py \
tests/testhaliMemH.py \
tests/testhaliPM.py \
tests/testmanagerLogic.py
tests/testDynamicPM.py \
tests/testEccGuardJedecMix.py \
tests/testEccGuardRegionPolicy.py \
tests/testEccGuardResident.py \
tests/testEccGuardSmoke.py \
tests/testEccModelDeterministic.py \
tests/eccRuntimeCommon.py \
tests/testEccRuntimeCorrectable.py \
tests/testEccRuntimeDueDrop.py \
tests/testEccRuntimeEscape.py \
tests/testEccCampaignReentry.py \
tests/testEccPoissonDistribution.py \
tests/testEccJedecDistribution.py \
tests/testEccResidentDistribution.py \
tests/framePipelineCommon.py \
tests/testFramePipelineClean.py \
tests/testFramePipelineCorrupt.py \
tests/testFramePipelineFallback.py \
tests/testFramePipelineMissingGolden.py \
tests/testStateGateRegionNoOverlap.py \
tests/testStateGateRegionOverlap.py \
tests/testActionScorerTaxonomy.py \
tests/testActionScorerTokenFallback.py \
tests/testActionScorerDropDivergence.py \
tests/haliEdgeCommon.py \
tests/testHaliPayloadlessGetX.py \
tests/testHaliDoubleDeferred.py \
tests/testHaliDeferredComplete.py \
tests/testHaliPayloadGetX.py \
tests/testHaliBacking.py \
tests/testHaliMemH.py \
tests/testHaliPM.py \
tests/testManagerLogic.py

sstdir = $(includedir)/sst/elements/carcosa
nobase_sst_HEADERS = \
Expand All @@ -87,6 +168,7 @@ nobase_sst_HEADERS = \
injectors/randomDropFaultInjector.h \
injectors/randomFlipFaultInjector.h \
injectors/dropFlipFaultInjector.h \
injectors/portModuleStateGate.h \
injectors/faultInjectorMemH.h \
faultlogic/faultBase.h \
faultlogic/stuckAtFault.h \
Expand All @@ -95,12 +177,29 @@ nobase_sst_HEADERS = \
faultlogic/randomFlipFault.h \
faultlogic/randomFlipMemHFault.h \
components/pmDataRegistry.h \
components/faultInjManagerAPI.h \
components/interceptionAgentAPI.h \
components/pingPongAgent.h
components/componentTestBounds.h \
components/configParse.h \
components/eccScheme.h \
components/eccPolicy.h \
components/eccGuard.h \
components/eccPayloadCorruptor.h \
components/eccModelMath.h \
components/criticalActionWatcher.h \
components/actionScorer.h \
components/faultInjManagerAPI.h \
components/interceptionAgentAPI.h \
components/ringProtocol.h \
components/hyadesProtocol.h \
components/carcosaHash.h \
components/pipelineStateRegistry.h \
components/pingPongAgent.h \
components/fourStateAgent.h \
components/haliEvent.h \
examples/SimplePipeline/simplePipelineExample.h \
examples/MmioControl/mmioControlExample.h \
components/vlaRegions.h

libcarcosa_la_LDFLAGS = -module -avoid-version
libcarcosa_la_LIBADD =

AM_CPPFLAGS += $(HMC_FLAG)
install-exec-hook:
Expand Down
Loading
Loading