https://github.com/Microsoft/CNTK
Raw File
Tip revision: 66cd50f4f7a486b34e7614e4792ec05c5903af48 authored by Bowen Bao on 28 January 2019, 23:30:57 UTC
Support gather export & import with float16
Tip revision: 66cd50f
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