https://github.com/Microsoft/CNTK
Raw File
Tip revision: eafcd9e03a32e0cc7a96c5374c6983c21ac530ac authored by Eldar Akchurin on 23 May 2017, 10:35:59 UTC
Adding more mlf tests
Tip revision: eafcd9e
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