using System;
using ComputeSharp.Tests.Extensions;
namespace ComputeSharp.Tests.Attributes;
///
/// An attribute to use with adding a specific input.
///
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public sealed class DeviceAttribute : Attribute
{
///
/// Creates a new instance with the specified parameters.
///
/// The target device type to use..
public DeviceAttribute(Device device)
{
Device = device;
}
///
/// Gets the target to use.
///
public Device Device { get; }
}