https://github.com/Microsoft/CNTK
Raw File
Tip revision: cda7fb0c0e201cadd27eae1a39de913e097c56eb authored by Friedel van Megen on 17 November 2016, 09:12:38 UTC
more output
Tip revision: cda7fb0
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