Commit 60e8c7a6 authored by aumgn's avatar aumgn
Browse files

[exp] Add support for lu_cb & lu_ncb

parent 37f2077a
...@@ -28,7 +28,7 @@ wastedcores: submodules ...@@ -28,7 +28,7 @@ wastedcores: submodules
cd tools/wastedcores/tools/visualizations_4.1/sched_profiler; make cd tools/wastedcores/tools/visualizations_4.1/sched_profiler; make
.PHONY: build-parsec .PHONY: build-parsec
build-parsec: build-bodytrack build-streamcluster build-volrend #build-vips build-parsec: build-bodytrack build-streamcluster build-volrend build-lu_cb build-lu_ncb #build-vips
.PHONY: build-bodytrack .PHONY: build-bodytrack
build-bodytrack: build-bodytrack:
...@@ -42,6 +42,14 @@ build-streamcluster: ...@@ -42,6 +42,14 @@ build-streamcluster:
build-volrend: build-volrend:
$(PARSECMGMT) -a build -p splash2x.volrend -c gcc-pthreads $(PARSECMGMT) -a build -p splash2x.volrend -c gcc-pthreads
.PHONY: build-lu_cb
build-lu_cb:
$(PARSECMGMT) -a build -p splash2x.lu_cb -c gcc-pthreads
.PHONY: build-lu_ncb
build-lu_ncb:
$(PARSECMGMT) -a build -p splash2x.lu_ncb -c gcc-pthreads
.PHONY: build-vips .PHONY: build-vips
build-vips: build-vips:
$(PARSECMGMT) -a build -p parsec.vips -c gcc-pthreads $(PARSECMGMT) -a build -p parsec.vips -c gcc-pthreads
...@@ -72,7 +80,7 @@ $(LIN_REG_INPUTS_ARCHIVE): ...@@ -72,7 +80,7 @@ $(LIN_REG_INPUTS_ARCHIVE):
wget $(LIN_REG_INPUTS_URL) -O $(LIN_REG_INPUTS_ARCHIVE) wget $(LIN_REG_INPUTS_URL) -O $(LIN_REG_INPUTS_ARCHIVE)
.PHONY: clean-parsec .PHONY: clean-parsec
clean-parsec: clean-bodytrack clean-streamcluster clean-volrend clean-vips clean-parsec: clean-bodytrack clean-streamcluster clean-volrend clean-lu_cb clean-lu_ncb #clean-vips
.PHONY: clean-bodytrack .PHONY: clean-bodytrack
clean-bodytrack: clean-bodytrack:
...@@ -86,6 +94,14 @@ clean-streamcluster: ...@@ -86,6 +94,14 @@ clean-streamcluster:
clean-volrend: clean-volrend:
$(PARSECMGMT) -a uninstall -p splash2x.volrend -c gcc-pthreads $(PARSECMGMT) -a uninstall -p splash2x.volrend -c gcc-pthreads
.PHONY: clean-lu_cb
clean-lu_cb:
$(PARSECMGMT) -a uninstall -p splash2x.lu_cb -c gcc-pthreads
.PHONY: clean-lu_ncb
clean-lu_ncb:
$(PARSECMGMT) -a uninstall -p splash2x.lu_ncb -c gcc-pthreads
.PHONY: clean-vips .PHONY: clean-vips
clean-vips: clean-vips:
$(PARSECMGMT) -a uninstall -p parsec.vips -c gcc-pthreads $(PARSECMGMT) -a uninstall -p parsec.vips -c gcc-pthreads
......
export LU_CB_DIR=$PARSEC_DIR/ext/splash2x/kernels/lu_cb
export LU_CB_BIN=$LU_CB_DIR/inst/amd64-linux.gcc-pthreads/bin/lu_cb
prepare_lu_cb() {
true
}
dump_lu_cb() {
sha1sum $LU_CB_BIN >>$dump_program_dir/lu_cb
}
command_lu_cb() {
echo $cmd_prefix $LU_CB_BIN -p$threads -n8096 -b32
}
export LU_NCB_DIR=$PARSEC_DIR/ext/splash2x/kernels/lu_ncb
export LU_NCB_BIN=$LU_NCB_DIR/inst/amd64-linux.gcc-pthreads/bin/lu_ncb
prepare_lu_ncb() {
true
}
dump_lu_ncb() {
sha1sum $LU_NCB_BIN >>$dump_program_dir/lu_ncb
}
command_lu_ncb() {
echo $cmd_prefix $LU_NCB_BIN -p$threads -n8096 -b32
}
Markdown is supported
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