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