Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Fix 32-bit MSVC builds. #1582

Merged
merged 1 commit into from
Dec 17, 2021

Commits on Dec 16, 2021

  1. Fix 32-bit MSVC builds.

    CUDA runtime functions are annotated with CUDARTAPI, which expands to
    __stdcall on MSVC.
    
    `thrust/system/cuda/memory_resource.h` defines some
    function pointer types intended for use with CUDART memory
    allocation/deallocation functions, but they lack the CUDARTAPI markup.
    
    Added this markup to fix 32-bit builds. Repro'd issue and validated
    fix on MSVC 2019.
    
    Fixes NVIDIA#1458.
    alliepiper committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    4a8e5fa View commit details
    Browse the repository at this point in the history