https://github.com/Microsoft/CNTK
Raw File
Tip revision: bd048f6270c7577e184dd333d89fdc90c123af93 authored by Ivan Rodriguez on 28 August 2017, 16:04:14 UTC
Uncommenting lines
Tip revision: bd048f6
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