# Toronto A3 Edge: reproduce a CUDA illegal access

> Reduce the Toronto workload to its first failing operation, then compare CUDA error output with a Compute Sanitizer result and the guest Xid log. Those records help separate a software memory access from a device event.

A process reporting an illegal access may show the error after an asynchronous operation, so the line that prints the exception can be misleading. Build a reproducible case before asking for a hardware replacement. Compare the same input each time you repeat the test.

## Record the actual accelerator and workload

[Google’s Toronto rows](https://docs.cloud.google.com/compute/docs/regions-zones/gpu-regions-zones) list A3 Edge in `northamerica-northeast2-c` and G2 in a and b. The [machine type guide](https://docs.cloud.google.com/compute/docs/accelerator-optimized-machines) identifies A3 Edge’s H100 accelerator. Record the machine series and GPU UUID of the element that failed. If you compare against a G2 staging job, include the difference in the case rather than treating the GPU and execution environment as identical.

## Use Compute Sanitizer against a small reproduction

Reduce the input and keep the operation that triggers the first error. [NVIDIA’s Compute Sanitizer guide](https://docs.nvidia.com/compute-sanitizer/ComputeSanitizer/index.html) describes memcheck for detecting invalid memory accesses in CUDA code. Use it on the smallest reproducible workload and preserve the first report before subsequent operations fail. Save the input shape, kernel or extension build and whether the reproduction occurred in the same workload image.

## Compare guest driver evidence separately

Search the guest log for Xids around the same UTC time and keep the exact event if present. [NVIDIA’s Xid documentation](https://docs.nvidia.com/deploy/xid-errors/) explains the meaning of the reported code. If your reproducer points to the same application bounds error on independent GPUs, document that. If only one device reports a repeated hardware-related code, preserve the device-specific record for provider support. Avoid losing the original stack or kernel event in a series of resets.

## Sources

- Compute Engine GPU locations: https://docs.cloud.google.com/compute/docs/regions-zones/gpu-regions-zones
- Accelerator-optimized GPU machine types: https://docs.cloud.google.com/compute/docs/accelerator-optimized-machines
- NVIDIA Compute Sanitizer: https://docs.nvidia.com/compute-sanitizer/ComputeSanitizer/index.html
- NVIDIA Xid Errors: https://docs.nvidia.com/deploy/xid-errors/
