https://github.com/Microsoft/CNTK
Raw File
Tip revision: 49cbd8555bd4c2fa7f487e690dce236b6d85cb9d authored by Wolfgang Manousek on 31 August 2017, 11:31:51 UTC
remove cub download hash
Tip revision: 49cbd85
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