Skip to content

Commit ad0b1d1

Browse files
author
Quentin Berthet
committed
Fix vck5000 detection in makefile
1 parent f5b8839 commit ad0b1d1

File tree

1 file changed

+3
-2
lines changed
  • hls4ml/templates/vitis_accelerator

1 file changed

+3
-2
lines changed

hls4ml/templates/vitis_accelerator/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,15 @@ hls: $(BUILD_DIR)/$(KERNEL_NAME)_kernel.xo
7979
# Kernel linking & packaging ##################################################
8080

8181
# For Standard Alveo, a single step is required for linking and packaging
82-
ifneq (,$(findstring vck5000,$(PLATFORM)))
82+
ifeq (,$(findstring vck5000,$(PLATFORM)))
83+
# This is standard Alveo linking and packaging
8384

8485
$(BUILD_DIR)/$(WRAPPER_NAME).xclbin: $(BUILD_DIR)/$(KERNEL_NAME)_kernel.xo
8586
mkdir -p $(XCLBIN_DIR)
8687
v++ -l $(XOLDFLAGS) --temp_dir $(XCLBIN_DIR) --log_dir $(XCLBIN_DIR) -o $@ $^
8788

88-
# For VCK5000, linking and packaging are separate steps
8989
else
90+
# For VCK5000, linking and packaging are separate steps
9091

9192
$(BUILD_DIR)/$(WRAPPER_NAME).xsa: $(BUILD_DIR)/$(KERNEL_NAME)_kernel.xo
9293
mkdir -p $(XCLBIN_DIR)

0 commit comments

Comments
 (0)