cudaMallocManaged() returns “operation not supported”

前端 未结 1 1030
没有蜡笔的小新
没有蜡笔的小新 2020-12-20 15:31

Trying out managed memory in CUDA 6.0 gives me operation not supported when calling cudaMallocManaged().

#include \"cuda_runtime.h         


        
相关标签:
1条回答
  • 2020-12-20 16:03

    Tried 32-bit debug and release builds.

    Use a 64 bit debug or release build.

    From the documentation:

    J.1.4. System Requirements

    Unified Memory has three basic requirements:

    •a GPU with SM architecture 3.0 or higher (Kepler class or newer)

    •a 64-bit host application and operating system, except on Android

    •Linux or Windows

    64 bit host application means you cannot compile for a 32 bit debug or release build.

    0 讨论(0)
提交回复
热议问题