Unified-memory hints (advisory; no-ops in the single-address-space sim)#
The sim keeps host and device in one address space, so prefetching and advice change nothing — they exist only so unified-memory code COMPILES and RUNS.
Defined in code/simulator.h.
This page documents 7 symbols: 1 macros, 2 enums, 4 functions.
Macros#
Signature |
Description |
Availability |
Location |
Example |
|---|---|---|---|---|
|
The sim keeps host and device in one address space, so prefetching and advice change nothing — they exist only so unified-memory code COMPILES and RUNS. |
sim only |
simulator.h:2191 |
Enums#
Signature |
Description |
Availability |
Location |
Example |
|---|---|---|---|---|
|
CUDA 13 replaced the int-device argument with a cudaMemLocation struct; accept that spelling too so the same source compiles under CUDA 13 nvcc and the sim. |
sim only |
simulator.h:2207 |
|
|
sim only |
simulator.h:2193 |
Functions#
Signature |
Description |
Availability |
Location |
Example |
|---|---|---|---|---|
|
sim only |
simulator.h:2201 |
||
|
sim only |
simulator.h:2214 |
||
|
sim only |
simulator.h:2203 |
||
|
sim only |
simulator.h:2212 |