#
#     Copyright (c) 2017, NVIDIA CORPORATION.  All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto.  Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CORPORATION is strictly prohibited.
#

switch --nvcchost is early hide
    help(Enable CUDA Native Host)
    set(NVCCHOST=1)
    set(CUCU=)
    append(USERCPPSUFFIX=cu)
    append(CPPPREINC=-D_NO_PGI_GNU_BUILTINS -D_PGI_NOBUILTINS)
    append(CPP1ARGS=--nvcchost --preinclude _cplus_nvcc.h -D__NVCC_HOST__)
    append(CPP2ARGS=-x 118 0x2);
