<commit_before># Try to find OpenCL library and include path.
# Once done this will define
#
# OPENCL_FOUND
# OPENCL_INCLUDE_PATH
# OPENCL_LIBRARY
# 

if (NOT LUXRAYS_DISABLE_OPENCL)

	IF (WIN32)
		FIND_PATH( OPENCL_INCLUDE_PATH CL/cl.h
			${OPENCL_ROOT}/include
			${LuxRays_SOURCE_DIR}/../opencl
			DOC "The directory where CL/cl.h resides")
		FIND_LIBRARY( OPENCL_LIBRARY
			NAMES OpenCL.lib
			PATHS
			${OPENCL_LIBRARYDIR}
			${OPENCL_ROOT}/lib/
			${LuxRays_SOURCE_DIR}/../opencl/
			DOC "The OpenCL library")
	ELSE (WIN32)
		FIND_PATH( OPENCL_INCLUDE_PATH CL/cl.h
			/usr/include
			/usr/local/include
			/sw/include
			/opt/local/include
			${OPENCL_ROOT}/include
			/usr/src/opencl-sdk/include
			DOC "The directory where CL/cl.h resides")
		FIND_LIBRARY( OPENCL_LIBRARY
			NAMES opencl OpenCL
			PATHS
			/usr/lib64
			/usr/lib
			/usr/local/lib64
			/usr/local/lib
			/sw/lib
			/opt/local/lib
			/usr/src/opencl-sdk/lib/x86_64
			${OPENCL_LIBRARYDIR}
			DOC "The OpenCL library")
	ENDIF (WIN32)

	IF (OPENCL_INCLUDE_PATH)
		SET( OPENCL_FOUND 1 CACHE STRING "Set to 1 if OpenCL is found, 0 otherwise")
	ELSE (OPENCL_INCLUDE_PATH)
		SET( OPENCL_FOUND 0 CACHE STRING "Set to 1 if OpenCL is found, 0 otherwise")
	ENDIF (OPENCL_INCLUDE_PATH)

	MARK_AS_ADVANCED( OPENCL_FOUND )

endif (NOT LUXRAYS_DISABLE_OPENCL)<commit_msg>Rollback also last commit, issue was due wrong settings in users specialized config, so not needed anymore<commit_after># Try to find OpenCL library and include path.
# Once done this will define
#
# OPENCL_FOUND
# OPENCL_INCLUDE_PATH
# OPENCL_LIBRARY
# 

IF (WIN32)
	FIND_PATH( OPENCL_INCLUDE_PATH CL/cl.h
		${OPENCL_ROOT}/include
		${LuxRays_SOURCE_DIR}/../opencl
		DOC "The directory where CL/cl.h resides")
	FIND_LIBRARY( OPENCL_LIBRARY
		NAMES OpenCL.lib
		PATHS
		${OPENCL_LIBRARYDIR}
		${OPENCL_ROOT}/lib/
		${LuxRays_SOURCE_DIR}/../opencl/
		DOC "The OpenCL library")
ELSE (WIN32)
	FIND_PATH( OPENCL_INCLUDE_PATH CL/cl.h
		/usr/include
		/usr/local/include
		/sw/include
		/opt/local/include
		${OPENCL_ROOT}/include
		/usr/src/opencl-sdk/include
		DOC "The directory where CL/cl.h resides")
	FIND_LIBRARY( OPENCL_LIBRARY
		NAMES opencl OpenCL
		PATHS
		/usr/lib64
		/usr/lib
		/usr/local/lib64
		/usr/local/lib
		/sw/lib
		/opt/local/lib
		/usr/src/opencl-sdk/lib/x86_64
		${OPENCL_LIBRARYDIR}
		DOC "The OpenCL library")
ENDIF (WIN32)

IF (OPENCL_INCLUDE_PATH)
	SET( OPENCL_FOUND 1 CACHE STRING "Set to 1 if OpenCL is found, 0 otherwise")
ELSE (OPENCL_INCLUDE_PATH)
	SET( OPENCL_FOUND 0 CACHE STRING "Set to 1 if OpenCL is found, 0 otherwise")
ENDIF (OPENCL_INCLUDE_PATH)

MARK_AS_ADVANCED( OPENCL_FOUND )
{'fraction_non_alphanumeric': 0.10052910052910052, 'fraction_numerical': 0.015117157974300832, 'mean_word_length': 3.786618444846293, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3286543', 'n_tokens_mistral': 1230, 'n_tokens_neox': 1036, 'n_words': 251}