https://github.com/Microsoft/CNTK
Raw File
Tip revision: c98e0ed74084a6e32a7ba064f45a10bf0eaf6102 authored by Frank Seide on 23 February 2016, 21:20:20 UTC
FlattenDims2
Tip revision: c98e0ed
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