https://github.com/Microsoft/CNTK
Raw File
Tip revision: 6ca7d8db2b2e73d04a0aef426743a158e37d10dc authored by Rui Zhao (SPEECH) on 14 August 2018, 04:05:01 UTC
no padding in one channel
Tip revision: 6ca7d8d
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