Files
compute-runtime/runtime/sharings/sharing_factory.inl

18 lines
332 B
Plaintext
Raw Normal View History

/*
* Copyright (C) 2017-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "runtime/sharings/sharing_factory.h"
namespace NEO {
template <typename F, typename T>
SharingFactory::RegisterSharing<F, T>::RegisterSharing() {
sharingContextBuilder[T::sharingId] = new F;
};
} // namespace NEO