Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

cudaconfidencemaps.cmake 1.32 KB
Newer Older
1
2
3
4
5
6
7
8
9
# CMake file for vis module

IF(${ModuleEnabled})
	# Find CUDA
    FIND_PACKAGE(CUDA REQUIRED)

    if(CUDA_FOUND)
		# Source files:
		FILE(GLOB ThisModSources RELATIVE ${ModulesDir}
10
			modules/cudaconfidencemaps/core/*.cpp
11
12
13
14
15
16
17
18
19
20
21
22
23
			modules/cudaconfidencemaps/pipelines/*.cpp
			modules/cudaconfidencemaps/processors/*.cpp
		)

		# Header files (including GLSL files so that they'll appear in VS projects)
		FILE(GLOB ThisModHeaders RELATIVE ${ModulesDir}
			modules/cudaconfidencemaps/glsl/*.frag
			modules/cudaconfidencemaps/glsl/*.geom
			modules/cudaconfidencemaps/glsl/*.vert
			modules/cudaconfidencemaps/pipelines/*.h
			modules/cudaconfidencemaps/processors/*.h
		)

24
		# Build CUDA sources
25
		set(CUDA_PROPAGATE_HOST_FLAGS OFF) # Otherwise -std=c++11 is passed, which does not work with cuda compilers
26
27
28
29
30
31
32
33
		set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS};-O3)
		file(GLOB cuda_SOURCES modules/cudaconfidencemaps/core/*.cu)
		cuda_add_library(
			CudaConfidenceMaps_CUDA
			${cuda_SOURCES}
			)
		LIST(APPEND ThisModExternalLibs CudaConfidenceMaps_CUDA)

34
35
36
37
38
39
40
41
42
		SET(ThisModShaderDirectories "modules/cudaconfidencemaps/glsl")
		SET(ThisModDependencies base io)
	else()
		MESSAGE(FATAL_ERROR "Could not find CUDA SDK.")
	endif()
ENDIF(${ModuleEnabled})

SET(ThisModStatus EXPERIMENTAL)
SET(ThisModExternalDependencies TRUE)