Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
NVCC: compile with named output

:param src: CUDA source file to compile with default `nvcc`
:param output: Name of resulting object or executable
:param flags: List of flags to pass onto the compiler

        def nvcc_o(src, output, flags=None):
    """NVCC: compile with named output

    :param src: CUDA source file to compile with default `nvcc`
    :param output: Name of resulting object or executable
    :param flags: List of flags to pass onto the compiler
    """
    assert which('nvcc')
    return _gcc_o(src, output, flags, compiler='nvcc')
        


src/x/n/Xnt-0.6.3/xnt/tests/compilercollectiontests.py   Xnt(Download)
    def test_nvcc_o(self):
        """Test Named Output NVCC"""
        cc.nvcc_o("temp/hello.cu", "temp/hello")
        self.assertTrue(os.path.isfile("temp/hello"))