Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Fixes #23

Closed
Closed
@Baddest-Juju

Description

@Baddest-Juju
Script changes needed in this repo

PATH variable of cuda bat files not correctly stated, leading to errors when it hits parantheses

set PATH=%CUDA_PATH_V9_1%\bin;%PATH%
should be
set "PATH=%CUDA_PATH_V9_1%\bin;%PATH%"

setup.bat needs to declare the proper version of VC to compile with.

call "%VS15VCVARSALL%" x86_amd64
becomes
call "%VS15VCVARSALL%" x86_amd64 -vcvars_ver=14.11.25503

What the user has to do (that should be documented)

The proper components must be installed within the Individual Components tab of Visual Studio Installer (except for the VC2015 one)

image

A CUDA file must then be modified because it has a check that breaks everything because the _MSC_VER variable does not get correctly passed to it.

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include\crt\host_config.h

#if _MSC_VER < 1600 || _MSC_VER > 1911
becomes
#if _MSC_VER < 1600

After all that, it'll compile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions