--- layout: stdlib-reference --- # Attributes Slang's Standard Library defines the following attributes: - [AutoPyBindCUDA](autopybindcuda-046abcd) - [BackwardDerivative](backwardderivative-08) - [BackwardDerivativeOf](backwardderivativeof-08i) - [BackwardDifferentiable](backwarddifferentiable-08) - [COM](com-012) - [CUDADeviceExport](cudadeviceexport-01234a) - [CUDAHost](cudahost-01234) - [CUDAKernel](cudakernel-01234) - [CudaDeviceExport](cudadeviceexport-04a) - [CudaHost](cudahost-04) - [CudaKernel](cudakernel-04) - [DerivativeGroupLinear](derivativegrouplinear-0af) - [DerivativeGroupQuad](derivativegroupquad-0af) - [DerivativeMember](derivativemember-0a) - [Differentiable](differentiable-0) - [DllExport](dllexport-03) - [DllImport](dllimport-03) - [ExperimentalModule](experimentalmodule-0c) - [Flags](flags-0) - [ForceInline](forceinline-05) - [ForceUnroll](forceunroll-05) - [ForwardDerivative](forwardderivative-07) - [ForwardDerivativeOf](forwardderivativeof-07h) - [ForwardDifferentiable](forwarddifferentiable-07) - [HasTrivialForwardDerivative](hastrivialforwardderivative-03ah) - [KnownBuiltin](knownbuiltin-05) - [MaxIters](maxiters-03) - [MaximallyReconverges](maximallyreconverges-09) - [MaybeDifferentiable](maybedifferentiable-05) - [NoDiffThis](nodiffthis-026) - [NonUniformReturn](nonuniformreturn-03a) - [NumThreads](numthreads-03) - [OverloadRank](overloadrank-08) - [PreferCheckpoint](prefercheckpoint-06) - [PreferRecompute](preferrecompute-06) - [PrimalSubstitute](primalsubstitute-06) - [PrimalSubstituteOf](primalsubstituteof-06g) - [PyExport](pyexport-02) - [QuadDerivatives](quadderivatives-04) - [RemovedSince](removedsince-07) - [RequireFullQuads](requirefullquads-07b) - [RequirePrelude](requireprelude-07) - [Shader](shader-0) - [SpecializationConstant](specializationconstant-0e) - [Specialize](specialize-0) - [TorchEntryPoint](torchentrypoint-05a) - [TreatAsDifferentiable](treatasdifferentiable-057) - [UnscopedEnum](unscopedenum-08) - [WaveSize](wavesize-04) - [allow](allow) - [allow\_uav\_condition](allow_uav_condition) - [anyValueSize](anyvaluesize-38) - [branch](branch) - [builtin](builtin) - [call](call) - [constref](constref) - [deprecated](deprecated) - [disable\_array\_flattening](disable_array_flattening) - [domain](domain) - [earlydepthstencil](earlydepthstencil) - [fastopt](fastopt) - [flatten](flatten) - [forcecase](forcecase) - [format](format) - [gl\_binding](gl_binding) - [instance](instance) - [loop](loop) - [maxtessfactor](maxtessfactor) - [maxvertexcount](maxvertexcount) - [mutating](mutating) - [noRefInline](norefinline-25) - [noinline](noinline) - [nonmutating](nonmutating) - [numthreads](numthreads) - [open](open) - [outputcontrolpoints](outputcontrolpoints) - [outputtopology](outputtopology) - [partitioning](partitioning) - [patchconstantfunc](patchconstantfunc) - [push\_constant](push_constant) - [raypayload](raypayload) - [require](require) - [sealed](sealed) - [shader](shader) - [shader\_record](shader_record) - [spv\_target\_env\_1\_3](spv_target_env_1_3) - [unroll](unroll) - [vk\_binding](vk_binding) - [vk\_constant\_id](vk_constant_id) - [vk\_image\_format](vk_image_format) - [vk\_location](vk_location) - [vk\_offset](vk_offset) - [vk\_push\_constant](vk_push_constant) - [vk\_shader\_record](vk_shader_record) - [vk\_specialization\_constant](vk_specialization_constant) - [vk\_spirv\_instruction](vk_spirv_instruction)