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

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.

Activity

  1. peterjc123 commented on Mar 16, 2018

    @peterjc123
    Owner

    @Baddest-Juju Thanks for your description. Can you make a PR on this?

  2. Baddest-Juju commented on Mar 16, 2018

    @Baddest-Juju
    Author

    Nope sorry, spent enough time on this already, no offense. I got to get back to paid work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions