https://github.com/Microsoft/CNTK
Raw File
Tip revision: 4bda6607d67b41ae6ccb1d90f2823e15f9c91120 authored by Wolfgang Manousek on 03 August 2017, 13:57:10 UTC
wip
Tip revision: 4bda660
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