https://github.com/Microsoft/CNTK
Raw File
Tip revision: e7e872370d1a55e56ce6148469cc1ecd8249cdc0 authored by Mudit Jain on 08 May 2018, 18:19:42 UTC
Fixes a memory leak in user deserializer's swig code.
Tip revision: e7e8723
DataTransferer.cpp
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//

#include "stdafx.h"
#include "DataTransferer.h"
#include "GPUDataTransferer.h"

namespace Microsoft { namespace MSR { namespace CNTK {

    DataTransfererPtr CreatePrefetchDataTransferer(int deviceId)
    {
        return std::make_shared<PrefetchGPUDataTransferer>(deviceId);
    }

} } }
back to top