https://github.com/Microsoft/CNTK
Raw File
Tip revision: 18927de77b5936a118fa39078bd5441cbf3617a2 authored by yqjieykn on 22 January 2017, 11:45:57 UTC
show expected verificationCode
Tip revision: 18927de
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