https://github.com/Microsoft/CNTK
Raw File
Tip revision: 974e4fbcccad1283d6af79999940b7f086c1de1d authored by Tim Dettmers on 09 September 2016, 21:15:19 UTC
Re-enabled global memorySwapping variable.
Tip revision: 974e4fb
GPUWatcher.h
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//

#pragma once

#include "GPUMatrix.h"

class MATH_API GPUWatcher
{
public:
    static size_t GetFreeMemoryOnCUDADevice(int devId);
    static int GetGPUIdWithTheMostFreeMemory();
    GPUWatcher(void);
    ~GPUWatcher(void);
};
back to top