blob: 5cdc478b3db20253c4783185476fbd9b8c1ffd33 [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
{
children: [
{
name: "opencl_loader",
url: "fuchsia-pkg://fuchsia.com/opencl_loader#meta/opencl_loader.cm",
environment: "#core-env",
},
],
offer: [
{
protocol: [ "fuchsia.logger.LogSink" ],
from: "parent",
to: [ "#opencl_loader" ],
},
{
directory: "dev-class",
from: "parent",
as: "dev-gpu",
to: [ "#opencl_loader" ],
subdir: "gpu",
},
{
directory: "dev-class",
from: "parent",
as: "dev-gpu-dependency-injection",
to: "#opencl_loader",
subdir: "gpu-dependency-injection",
},
{
protocol: "fuchsia.memorypressure.Provider",
from: "#memory_monitor",
to: "#opencl_loader",
},
],
}