• Julien Demouth's avatar
    Integrate the latest version of CNMEM · 58944771
    Julien Demouth 提交于
    This version comes with two fixes.
    
    1/ Fix a warning due to the visibility attribute needed by Theano.
    We changed const char* CNMEM_API to const char CNMEM_API* in the
    declaration of cnmemGetErrorString to have the attribute between
    char and star. It fixes the warning.
    
    2/ Fix a compilation issue with CUDA 5.0 due to the missing
    cudaStreamGetFlags function. It is #defined out when the Runtime
    is less than 5.5 (5050 version).
    58944771
cnmem.cpp 43.3 KB