CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
135 lines
3.7 KiB
Plaintext
135 lines
3.7 KiB
Plaintext
================================================================================
|
|
AMD GPU Performance Counter Test Suite - Build Complete
|
|
================================================================================
|
|
|
|
Build Date: $(date)
|
|
Location: <project-root>/projects/perf-dkms/test_apps
|
|
|
|
BUILD SUMMARY:
|
|
--------------
|
|
✓ 14 Test applications created and compiled successfully
|
|
✓ 2 Common infrastructure headers
|
|
✓ 16 CMakeLists.txt files (1 root, 1 common, 14 tests)
|
|
✓ 1 Run script (run_all_tests.sh)
|
|
✓ 2 Documentation files (README.md, QUICKSTART.md)
|
|
|
|
TEST APPLICATIONS:
|
|
------------------
|
|
1. valu_heavy - VALU Heavy (FMA Operations)
|
|
2. salu_heavy - SALU Heavy (Scalar Operations)
|
|
3. lds_basic - LDS Basic (Sequential Access)
|
|
4. lds_conflicts - LDS Conflicts (Bank Conflicts)
|
|
5. smem - SMEM (Scalar Memory)
|
|
6. buffer_read - Buffer Read (Coalesced Reads)
|
|
7. buffer_write - Buffer Write (Coalesced Writes)
|
|
8. flat_memory - FLAT Memory (Generic Pointers)
|
|
9. mem_sizes - Memory Sizes (32B/64B/128B)
|
|
10. cache_hit - Cache Hit (L2 Cache Hits)
|
|
11. cache_miss - Cache Miss (L2 Cache Misses)
|
|
12. wave_modes - Wave Modes (Wave32/Wave64)
|
|
13. waits_stalls - Waits/Stalls (Memory Dependencies)
|
|
14. basic_activity - Basic Activity (Baseline)
|
|
|
|
EXECUTABLES BUILT:
|
|
------------------
|
|
All 14 test executables successfully built in build/ directory:
|
|
- build/valu_heavy/valu_heavy
|
|
- build/salu_heavy/salu_heavy
|
|
- build/lds_basic/lds_basic
|
|
- build/lds_conflicts/lds_conflicts
|
|
- build/smem/smem
|
|
- build/buffer_read/buffer_read
|
|
- build/buffer_write/buffer_write
|
|
- build/flat_memory/flat_memory
|
|
- build/mem_sizes/mem_sizes
|
|
- build/cache_hit/cache_hit
|
|
- build/cache_miss/cache_miss
|
|
- build/wave_modes/wave_modes
|
|
- build/waits_stalls/waits_stalls
|
|
- build/basic_activity/basic_activity
|
|
|
|
QUICK START:
|
|
------------
|
|
To run all tests:
|
|
cd <path-to-test_apps>
|
|
./run_all_tests.sh
|
|
|
|
To run individual test:
|
|
./build/valu_heavy/valu_heavy
|
|
|
|
To rebuild:
|
|
cd build
|
|
make clean
|
|
make -j$(nproc)
|
|
|
|
DOCUMENTATION:
|
|
--------------
|
|
- README.md - Comprehensive documentation
|
|
- QUICKSTART.md - Quick reference guide
|
|
- This file - Build success summary
|
|
|
|
INFRASTRUCTURE:
|
|
---------------
|
|
Common infrastructure provides:
|
|
- HIP error checking macros (HIP_CHECK, HIP_CHECK_LAST)
|
|
- Device memory management utilities
|
|
- Test framework base class with timing
|
|
- Kernel runner helper class
|
|
- Result verification utilities
|
|
|
|
TARGET HARDWARE BLOCKS:
|
|
-----------------------
|
|
- SQ (Shader Quad / Compute Unit)
|
|
* VALU instructions
|
|
* SALU instructions
|
|
* SMEM instructions
|
|
* FLAT instructions
|
|
* LDS operations
|
|
|
|
- GL2C (L2 Cache)
|
|
* Cache hits/misses
|
|
* Transaction sizes
|
|
* Memory traffic
|
|
|
|
- TA (Texture Addresser)
|
|
* Memory fetches
|
|
* Buffer operations
|
|
|
|
- GRBM (Graphics Register Bus Manager)
|
|
* GPU activity
|
|
* Wait states
|
|
* Stalls
|
|
|
|
BUILD CONFIGURATION:
|
|
--------------------
|
|
- HIP Path: /opt/rocm
|
|
- HIP Compiler: Clang 20.0.0
|
|
- HIP Standard: C++17
|
|
- Build System: CMake 3.16+
|
|
- Parallel Jobs: 8
|
|
|
|
SUCCESS CRITERIA MET:
|
|
---------------------
|
|
✓ All tests compile without errors
|
|
✓ All tests link successfully
|
|
✓ CMake build system works correctly
|
|
✓ All executables are runnable
|
|
✓ Documentation is complete
|
|
✓ Run script is executable
|
|
|
|
NEXT STEPS:
|
|
-----------
|
|
1. Run the test suite to verify GPU functionality:
|
|
./run_all_tests.sh
|
|
|
|
2. Profile individual tests with perf:
|
|
perf stat -e amd_gpu/SQ_INSTS_VALU/ ./build/valu_heavy/valu_heavy
|
|
|
|
3. Use tests to validate performance counter implementation
|
|
|
|
4. Integrate with perf-dkms module testing workflow
|
|
|
|
================================================================================
|
|
Build completed successfully!
|
|
================================================================================
|