https://github.com/Microsoft/CNTK
Raw File
Tip revision: 3801c452205ba59171861247421b70bee94f505b authored by unknown on 08 December 2016, 11:23:03 UTC
bugfix
Tip revision: 3801c45
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