Skip to content
Snippets Groups Projects
Commit 00282999 authored by Attila Krasznahorkay's avatar Attila Krasznahorkay
Browse files

Taught CxxUtils about the SYCL_LANGUAGE_VERSION macro.

The Intel compiler is no longer using the macro name CL_SYCL_LANGUAGE_VERSION,
but rather SYCL_LANGUAGE_VERSION.

At the same time still kept the CL_SYCL_LANGUAGE_VERSION check around as
well, in case we would try to build the code with an older version of the
Intel compiler.
parent 0a56170c
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!39599SYCL Fix, master branch (2020.01.11.)
// This file's extension implies that it's C, but it's really -*- C++ -*-.
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
/*
*/
/**
* @file CxxUtils/features.h
* @author scott snyder <snyder@bnl.gov>
......@@ -18,7 +16,8 @@
/// the target attribute
#if defined(__ELF__) && defined(__GNUC__) && !defined(__CLING__) && \
!defined(__ICC) && !defined(__COVERITY__) && !defined(__CUDACC__) && \
!defined(CL_SYCL_LANGUAGE_VERSION) && !defined(__HIP__)
!defined(CL_SYCL_LANGUAGE_VERSION) && !defined(SYCL_LANGUAGE_VERSION) && \
!defined(__HIP__)
# define HAVE_FUNCTION_MULTIVERSIONING 1
#else
# define HAVE_FUNCTION_MULTIVERSIONING 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment