https://github.com/Microsoft/CNTK
Raw File
Tip revision: cb71a8721af6ba94e248442160816a708eab8853 authored by KeDengMS on 21 February 2018, 00:18:38 UTC
Disable MKL-DNN for now before we pick up the fix for AMD cache size fix.
Tip revision: cb71a87
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