https://github.com/Microsoft/CNTK
Raw File
Tip revision: b8c33adab59e3e533c4dce8c29a94cad2a3c1de6 authored by Wayne Xiong on 17 October 2016, 18:29:21 UTC
Merge remote-tracking branch 'origin/master' into weixi/lfmmi-2pass
Tip revision: b8c33ad
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