Environment variables#
The following table lists the most often used environment variables.
| Environment variable | Possible values | Description | 
|---|---|---|
| HSA_ENABLE_SDMA | 
 | This controls the use of DMA engines in all copy directions (Host-to-Device, Device-to-Host, Device-to-Device) when using the
 | 
| HSA_ENABLE_PEER_SDMA | 
 | This controls the use of DMA engines for Device-to-Device copies when using the  | 
Note
The value of HSA_ENABLE_PEER_SDMA is ignored if HSA_ENABLE_SDMA is used to disable the use of DMA engines.