{
  "artifacts_not_published": [
    {
      "path": "fixtures/isa/lds.hsaco",
      "sha256": "e58cbcbf241c55956bfb54cf4642723e89fbeff741ac8ed314cdefe99b04be28"
    },
    {
      "path": "fixtures/bin/lds_dispatch",
      "sha256": "aa1dd66638cc40ce635e79f89d946134607a034098a724d18ba25845b1d973d7"
    }
  ],
  "case": "consan-lds-dispatch",
  "class": "survey",
  "command": "aorta sweep run --recipe recipes/sanitizers/daily-consan-lds-dispatch.yaml",
  "commit": "d11092a603d9fe07f12046d144540be1fa80c264",
  "container_image": "rocm/pytorch:rocm7.2.4_ubuntu24.04_py3.12_pytorch_release_2.10.0@sha256:4449f856653602317e4101a76fce599c7fcd58ccec2e539951fce5f73083179e",
  "date": "2026-09-01T12:55:03+00:00",
  "digests": {
    "code_object:lds.hsaco": "e58cbcbf241c55956bfb54cf4642723e89fbeff741ac8ed314cdefe99b04be28",
    "command": "/workspace/aorta/recipes/sanitizers/fixtures/bin/lds_dispatch",
    "command_sha256": "aa1dd66638cc40ce635e79f89d946134607a034098a724d18ba25845b1d973d7",
    "hook": "/workspace/aorta/.sanitizer-nightly/rocjitsu-prebuilt/lib/librocjitsu_dbi_hooks.so",
    "hook_sha256": "ec09f19e38fbedb0a1bcaeb4e88bae50df2da8b9c4ceb27a7c067a88364a6b02",
    "selected_identity_sha256": "775402d9992c5b4b2dbee942e92ba0988bfdb0e6ba0260a0b4e6b290844e36a2",
    "selected_kernel": "lds_reduce"
  },
  "inputs": [
    "fixtures/kernels/lds_reduce.hip",
    "fixtures/kernels/lds_dispatch.hip"
  ],
  "logs_published": true,
  "observed": {
    "execution": "complete",
    "findings": 0,
    "reason": null,
    "verdict": "pass"
  },
  "rebuild": [
    {
      "caveat": "The conditional matters: --genco emits a raw code object on some ROCm builds and a clang-offload bundle on others, and the recorded digest is of the unbundled object.",
      "commands": [
        "export PATH=\"$(python -c \"from aorta.instrumentation.rocm_paths import resolve_rocm_roots; print(resolve_rocm_roots().llvm_bin_dir)\"):${PATH}\"",
        "mkdir -p recipes/sanitizers/fixtures/isa",
        "hipcc --genco --offload-arch=gfx950 recipes/sanitizers/fixtures/kernels/lds_reduce.hip -o tmp.o",
        "if head -c 24 tmp.o | grep -qF __CLANG_OFFLOAD_BUNDLE__; then clang-offload-bundler --type=o --unbundle --input=tmp.o --targets=hipv4-amdgcn-amd-amdhsa--gfx950 --output=recipes/sanitizers/fixtures/isa/lds.hsaco; else cp tmp.o recipes/sanitizers/fixtures/isa/lds.hsaco; fi && rm -f tmp.o"
      ],
      "path": "fixtures/isa/lds.hsaco",
      "what": "a gfx code object built from fixtures/kernels/lds_reduce.hip"
    },
    {
      "caveat": "The -DLDS_HSACO define is required: it is how the binary learns which code object to load.",
      "commands": [
        "export PATH=\"$(python -c \"from aorta.instrumentation.rocm_paths import resolve_rocm_roots; print(resolve_rocm_roots().llvm_bin_dir)\"):${PATH}\"",
        "mkdir -p recipes/sanitizers/fixtures/bin",
        "hipcc --offload-arch=gfx950 -DLDS_HSACO=\"\\\"$(pwd)/recipes/sanitizers/fixtures/isa/lds.hsaco\\\"\" recipes/sanitizers/fixtures/kernels/lds_dispatch.hip -o recipes/sanitizers/fixtures/bin/lds_dispatch"
      ],
      "path": "fixtures/bin/lds_dispatch",
      "what": "a host repro binary built from fixtures/kernels/lds_dispatch.hip"
    }
  ],
  "recipe": "recipes/sanitizers/daily-consan-lds-dispatch.yaml",
  "required_env": [
    {
      "purpose": "unpacked rocjitsu bundle supplying rj_waitcheck and the ConSan hook",
      "set_by": "operator",
      "var": "ROCJITSU_PREBUILT"
    },
    {
      "purpose": "ConSan hook to load",
      "set_by": "aorta",
      "var": "HSA_TOOLS_LIB"
    },
    {
      "purpose": "must be 1 so the hook is not double-registered",
      "set_by": "aorta",
      "var": "HSA_TOOLS_DISABLE_REGISTER"
    },
    {
      "purpose": "ConSan detection mode",
      "set_by": "aorta",
      "var": "RJ_CONSAN_MODE"
    },
    {
      "purpose": "ConSan reporting policy",
      "set_by": "aorta",
      "var": "RJ_CONSAN_POLICY"
    }
  ],
  "rocjitsu_commit": "bed84edd689a56b7443f03a69cbe619d5fc2c1a4",
  "rocjitsu_run_url": "https://github.com/ROCm/rocm-systems/actions/runs/33428269891",
  "run": "2026-09-01T125503-33507543444",
  "run_url": "https://github.com/ROCm/aorta/actions/runs/33507543444",
  "schema": "aorta.sanitizer_run_area/0.1",
  "target": "gfx950"
}
