Fix for excluding JPEG and VCN activity test. (#135)
JPEG activity recording is currently only supported on MI300 serries.
VCN activity is supported in MI100 also but there is a bug currently being fixed by FW.
- Currently only testing the Activity verification tests for MI300
- Also moves the Jpeg image copying code to after the package is found.
[ROCm/rocprofiler-systems commit: e605e5d33f]
Этот коммит содержится в:
1 родитель
6406fd7d3f
Коммит
3ca3d63d5c
3 files changed
+63
-42
No files matched your search
@@ -282,6 +282,31 @@ endmacro()
|
||||
|
||||
# -------------------------------------------------------------------------------------- #
|
||||
|
||||
# Define the function to check for a specific GPU
|
||||
function(check_gpu gpu_name return_var)
|
||||
# Run the rocminfo command and capture the output
|
||||
execute_process(
|
||||
COMMAND rocminfo | grep ${gpu_name}
|
||||
OUTPUT_VARIABLE ROCMINFO_OUTPUT
|
||||
RESULT_VARIABLE ROCMINFO_RESULT
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
|
||||
# Check if the specified GPU is present
|
||||
if(ROCMINFO_RESULT EQUAL 0)
|
||||
message(STATUS "${gpu_name} GPU detected")
|
||||
set(${return_var}
|
||||
TRUE
|
||||
PARENT_SCOPE)
|
||||
else()
|
||||
message(STATUS "${gpu_name} GPU not detected")
|
||||
set(${return_var}
|
||||
FALSE
|
||||
PARENT_SCOPE)
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
# -------------------------------------------------------------------------------------- #
|
||||
|
||||
function(ROCPROFILER_SYSTEMS_WRITE_TEST_CONFIG _FILE _ENV)
|
||||
set(_ENV_ONLY
|
||||
"ROCPROFSYS_(CI|CI_TIMEOUT|MODE|USE_MPIP|DEBUG_[A-Z_]+|FORCE_ROCPROFILER_INIT|DEFAULT_MIN_INSTRUCTIONS|MONOCHROME|VERBOSE)="
|
||||
|
||||
Reference in new issue
Block a user