File: environment_variables.md

package info (click to toggle)
rocr-runtime 6.1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,528 kB
  • sloc: cpp: 81,527; ansic: 4,499; asm: 601; lisp: 599; sh: 123; python: 23; makefile: 12
file content (23 lines) | stat: -rw-r--r-- 764 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Environment Variables

## HSA_ENABLE_SDMA

Possible values:

* 0:Disabled
* 1:Enabled (Default Value)

This will enable or disable the use of DMA engines in all copy directions (Host-to-Device, Device-to-Host, Device-to-Device) when using the following APIs:
`hsa_memory_copy`, `hsa_amd_memory_fill`, `hsa_amd_memory_async_copy`, `hsa_amd_memory_async_copy_on_engine`

## HSA_ENABLE_PEER_SDMA

Possible values:

* 0:Disabled
* 1:Enabled (Default Value)

This will enable or disable the use of DMA engines for Device-to-Device copies when using the following APIs:
`hsa_memory_copy`, `hsa_amd_memory_async_copy`, `hsa_amd_memory_async_copy_on_engine`

The value of `HSA_ENABLE_PEER_SDMA` is ignored if `HSA_ENABLE_SDMA` is used to disable the use of DMA engines.