HW2: Add perf rule
This commit is contained in:
parent
36de8d94fc
commit
4dc47bb8f4
@ -224,6 +224,16 @@ tests: $(BUILD_DIR)/$(TARGET)
|
|||||||
@mkdir -p out
|
@mkdir -p out
|
||||||
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET)
|
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET)
|
||||||
|
|
||||||
|
perfbitonic: CC := mpicc
|
||||||
|
perfbitonic: CXX := mpic++
|
||||||
|
perfbitonic: CFLAGS := $(REL_CFLAGS) -g -DCODE_VERSION=BITONIC
|
||||||
|
perfbitonic: CXXFLAGS := $(REL_CXXFLAGS) -g -DCODE_VERSION=BITONIC
|
||||||
|
perfbitonic: TARGET := distbitonic
|
||||||
|
perfbitonic: $(BUILD_DIR)/$(TARGET)
|
||||||
|
@mkdir -p out
|
||||||
|
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET)
|
||||||
|
|
||||||
|
|
||||||
hpc-build:
|
hpc-build:
|
||||||
make clean
|
make clean
|
||||||
make distbubbletonic
|
make distbubbletonic
|
||||||
|
Loading…
x
Reference in New Issue
Block a user