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 { public DeviceAttribute(Device device) { Device = device; } /// /// Gets the target to use. /// public Device Device { get; } }