https://github.com/Microsoft/CNTK
Raw File
Tip revision: 2941e599dc437c0e9c1340d6249ebcccbb342128 authored by REDMOND\sayanpa on 11 February 2017, 07:07:05 UTC
Chekcing in working cif forecasting tutorial
Tip revision: 2941e59
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