[profiling] pre-processing using rocprofiler-sdk profiler
[profiling] perform SoC profiling setup for gfx950
[profiling] PC sampling only mode -- skipping counter collection setup
starting "run_profiling" and about to start rocprof's workload
[profiling] performing profiling using rocprofiler-sdk profiler
Rocprofiler-Compute version: 3.9.0
Profiler choice: rocprofiler-sdk
Output directory: /app/projects/rocprofiler-compute/workloads/vcopy_pcsampling/MI350
Target: MI350
Command: tests/vcopy -n 16777216 -b 256 -i 3
Kernel Selection: None
Dispatch Selection: None
Filtered sections: ['21']
[profiling] No performance counters to collect -- PC sampling only mode

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Collecting Performance Counters
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Searching for native collector.
ROCm Compute root directory: /app/projects/rocprofiler-compute/src
Searching /app/projects by lib*/rocprofiler-compute/librocprofiler-compute-tool.so for native collector
Generating native tool project using command: cmake -S /app/projects/rocprofiler-compute/src/lib -B /app/projects/rocprofiler-compute/src/lib/_build
-- HIP: Using hipcc from relative path: /rocm-venv/lib/python3.12/site-packages/_rocm_sdk_devel/bin/hipcc
-- HIP_PLATFORM using hip_HIPCONFIG_EXECUTABLE: amd
-- {fmt} version: 12.1.0
-- Build type:
-- Using the multi-header code from /app/projects/rocprofiler-compute/src/lib/external/json/include/
-- Configuring done
-- Generating done
-- Build files have been written to: /app/projects/rocprofiler-compute/src/lib/_build
Building native tool using command: cmake --build /app/projects/rocprofiler-compute/src/lib/_build --parallel
[  0%] Built target synchronized
Consolidate compiler generated dependencies of target fmt
[  0%] Built target gsl_assert
[ 16%] Built target fmt
Consolidate compiler generated dependencies of target pc-sampling-collector
[ 55%] Built target pc-sampling-collector
Consolidate compiler generated dependencies of target rocprofiler-compute-tool
[100%] Built target rocprofiler-compute-tool
Searching /app/projects/rocprofiler-compute/src by lib/_build/lib/librocprofiler-compute-tool.so for native collector
Using native collector: /app/projects/rocprofiler-compute/src/lib/_build/lib/librocprofiler-compute-tool.so
Using native counter collection tool: /app/projects/rocprofiler-compute/src/lib/_build/lib/librocprofiler-compute-tool.so
Parallel runtime detected: None='None', None=None
[profiling] Iteration multiplexing: Disabled
Using native counter collection tool: /app/projects/rocprofiler-compute/src/lib/_build/lib/librocprofiler-compute-tool.so
[Run 1/1][PC sampling profile run]
pc sampling rocprof sdk env vars: {'ROCPROF_COUNTER_COLLECTION': '0', 'LD_PRELOAD': '/rocm-venv/lib/python3.12/site-packages/_rocm_sdk_devel/lib/rocprofiler-sdk/librocprofiler-sdk-tool.so:/app/projects/rocprofiler-compute/src/lib/_build/lib/librocprofiler-compute-tool.so', 'ROCPROF_KERNEL_TRACE': '1', 'ROCPROF_OUTPUT_FORMAT': 'json', 'ROCPROF_OUTPUT_PATH': '/app/projects/rocprofiler-compute/workloads/vcopy_pcsampling/MI350', 'ROCPROF_OUTPUT_FILE_NAME': '%pid%_ps_file', 'ROCPROFILER_PC_SAMPLING_BETA_ENABLED': '1', 'ROCPROF_PC_SAMPLING_UNIT': 'cycles', 'ROCPROF_PC_SAMPLING_INTERVAL': '65536', 'ROCPROF_PC_SAMPLING_METHOD': 'stochastic'}
pc sampling rocprof sdk user provided command: ['tests/vcopy', '-n', '16777216', '-b', '256', '-i', '3']
   |-> [rocprofiler-sdk] [rocprofiler-compute] [rocprofiler_configure] (priority=1) is using rocprofiler-sdk v1.3.5 (1.3.5)
   |-> [rocprofiler-sdk] W0810 23:21:10.336511  698961 simple_timer.cpp:55] [rocprofv3] tool initialization ::     0.001874 sec
   |-> [rocprofiler-sdk] [rocprofiler-compute] In tool init
   |-> [rocprofiler-sdk] W0810 23:21:10.336640  698961 simple_timer.cpp:55] [rocprofv3] 'tests/vcopy -n 16777216 -b 256 -i 3' ::     0.000000 sec
   |-> [rocprofiler-sdk] W0810 23:21:10.426282  698961 tool.cpp:3348] HSA version 1.21.0 initialized (instance=0)
   |-> [rocprofiler-sdk] vcopy testing on GCD 0
   |-> [rocprofiler-sdk] Finished allocating vectors on the CPU
   |-> [rocprofiler-sdk] Finished allocating vectors on the GPU
   |-> [rocprofiler-sdk] W0810 23:21:10.544657  698961 queue_controller.cpp:170] [queue-intercept] device-memory ring-buffer requested but profiling requires system-memory InterceptQueue; falling back to system-memory ring for agent 94617711683536 (priority and CU-mask from the descriptor are not preserved)
   |-> [rocprofiler-sdk] Finished copying vectors to the GPU
   |-> [rocprofiler-sdk] sw thinks it moved 1.000000 KB per wave
   |-> [rocprofiler-sdk] Total threads: 16777216, Grid Size: 65536 block Size:256, Wavefronts:262144:
   |-> [rocprofiler-sdk] Launching the  kernel on the GPU
   |-> [rocprofiler-sdk] Finished executing kernel
   |-> [rocprofiler-sdk] Finished executing kernel
   |-> [rocprofiler-sdk] Finished executing kernel
   |-> [rocprofiler-sdk] Finished copying the output vector from the GPU to the CPU
   |-> [rocprofiler-sdk] Releasing GPU memory
   |-> [rocprofiler-sdk] Releasing CPU memory
   |-> [rocprofiler-sdk] W0810 23:21:10.811401  698961 simple_timer.cpp:55] [rocprofv3] 'tests/vcopy -n 16777216 -b 256 -i 3' ::     0.474759 sec
   |-> [rocprofiler-sdk] E0810 23:21:10.839671  698961 output_stream.cpp:110] Opened result file: /app/projects/rocprofiler-compute/workloads/vcopy_pcsampling/MI350/698961_ps_file_results.json
   |-> [rocprofiler-sdk] W0810 23:21:10.869928  698961 simple_timer.cpp:55] [rocprofv3] output generation ::     0.052512 sec
   |-> [rocprofiler-sdk] W0810 23:21:10.870085  698961 simple_timer.cpp:55] [rocprofv3] tool finalization ::     0.055848 sec
   |-> [rocprofiler-sdk] [rocprofiler-compute] In tool fini
   |-> [rocprofiler-sdk] [rocprofiler-compute] [flush] Code object data has been written to: "/app/projects/rocprofiler-compute/workloads/vcopy_pcsampling/MI350/698961_code_obj_info.json"
[profiling] The time of pc sampling profiling is 0 m 1.7887098789215088 sec
finished "run_profiling" and finished rocprof's workload, time taken was 0 m 4.17480206489563 sec
[profiling] performing post-processing using rocprofiler-sdk profiler
[profiling] perform SoC post processing for gfx950
[roofline] Skipping roofline
time taken for "post_processing" was 0 seconds
