https://github.com/Microsoft/CNTK
Raw File
Tip revision: 80666218597878e81e08557c01642fa09e0cabd0 authored by Eldar Akchurin on 03 January 2018, 16:40:52 UTC
Fixing BPTT for case when the minibatch size changes
Tip revision: 8066621
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