https://github.com/Microsoft/CNTK
Raw File
Tip revision: 019b1461fd526f39172923784329c26bed0f466b authored by Clemens Marschner on 25 April 2016, 08:51:33 UTC
adapted to franks mail
Tip revision: 019b146
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