getVal seems to work

This commit is contained in:
Robin committed 2024-12-21 14:17:39 +01:00
1 parent 4b06f289b8
commit a7ad248c38
6 files changed
+39 -50

No files matched your search

+3 -2
View File
@@ -1,6 +1,7 @@
# Compiler and flags
NVCC = nvcc
CXXFLAGS = -I./src -I./hurricanedata -std=c++17 $(shell nc-config --cxx4flags) $(shell nc-config --cxx4libs)
COMPILE_OBJ_FLAGS = --device-c
# Directories
SRC_DIR = src
@@ -16,12 +17,12 @@ all: $(TARGET)
# Build the main target
$(TARGET): $(OBJ_FILES) | $(BUILD_DIR)
$(NVCC) $(CXXFLAGS) -o $@ $^
$(NVCC) $(CXXFLAGS) $^ -o $@
# Compile object files
$(BUILD_DIR)/%.o: $(SRC_DIR)/%.cu
@mkdir -p $(dir $@)
$(NVCC) $(CXXFLAGS) -c $< -o $@
$(NVCC) $(CXXFLAGS) $(COMPILE_OBJ_FLAGS) -c $< -o $@
# Debug build
debug: CXXFLAGS += -g
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.