Browse Source

HW2: Add perf rule

tags/v2.0
parent
commit
4dc47bb8f4
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      homework_2/Makefile

+ 10
- 0
homework_2/Makefile View File

@@ -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…
Cancel
Save