https://github.com/Microsoft/CNTK
Raw File
Tip revision: e3e3110cabadbfc9c98c7b23f5d5bd26044efff4 authored by Mark Hillebrand on 19 September 2017, 11:02:10 UTC
WIP
Tip revision: e3e3110
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