mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-15 02:27:57 +00:00
Merge commit '3b076b0b74fec1c5a27a808cea45b21c6f526ced' into develop
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -1836,10 +1836,11 @@ pipeline {
|
||||
}
|
||||
agent{ label rocmnode("gfx90a") }
|
||||
environment{
|
||||
setup_args = """ -DCMAKE_INSTALL_PREFIX=../install -DGPU_TARGETS="gfx90a" -DCMAKE_CXX_FLAGS=" -O3 " """
|
||||
setup_args = """ -DCMAKE_INSTALL_PREFIX=../install -DGPU_TARGETS="gfx90a" -DCK_CXX_STANDARD="17" -DCMAKE_CXX_FLAGS=" -O3 " """
|
||||
execute_args = """ cd ../client_example && rm -rf build && mkdir build && cd build && \
|
||||
cmake -DCMAKE_PREFIX_PATH="${env.WORKSPACE}/install;/opt/rocm" \
|
||||
-DGPU_TARGETS="gfx90a" \
|
||||
-DCK_CXX_STANDARD="17" \
|
||||
-DCMAKE_CXX_COMPILER="${build_compiler()}" \
|
||||
-DCMAKE_C_COMPILER=/opt/rocm/llvm/bin/clang \
|
||||
-DCMAKE_CXX_FLAGS=" -O3 " .. && make -j """
|
||||
|
||||
@@ -73,7 +73,7 @@ struct AddReluAdd
|
||||
__host__ __device__ constexpr void operator()<half_t, float, half_t, half_t>(
|
||||
half_t& y, const float& x0, const half_t& x1, const half_t& x2) const
|
||||
{
|
||||
float y_float;
|
||||
float y_float = 0.0;
|
||||
(*this)(y_float, x0, x1, x2);
|
||||
y = y_float;
|
||||
}
|
||||
|
||||
@@ -52,5 +52,22 @@ if [ "${ENFORCE_REDIS}" == "true" ]; then
|
||||
fi
|
||||
setup_rocm_compilers_hash_file
|
||||
$SCCACHE_BIN --version
|
||||
echo "=== Starting sccache server at $(date) ==="
|
||||
$SCCACHE_BIN --start-server
|
||||
|
||||
# Log initial sccache statistics
|
||||
echo "=== Initial sccache statistics ==="
|
||||
$SCCACHE_BIN --show-stats || echo "Could not get initial stats"
|
||||
|
||||
# Test Redis connectivity and performance
|
||||
echo "=== Testing Redis connectivity ==="
|
||||
start_time=$(date +%s%N)
|
||||
redis-cli -u ${SCCACHE_REDIS} ping || echo "Redis ping failed"
|
||||
end_time=$(date +%s%N)
|
||||
latency=$(( (end_time - start_time) / 1000000 ))
|
||||
echo "Redis ping latency: ${latency}ms"
|
||||
|
||||
# Check Redis memory status
|
||||
echo "=== Redis memory status ==="
|
||||
redis-cli -u ${SCCACHE_REDIS} info memory | grep -E "(used_memory|maxmemory|evicted_keys)" || echo "Could not get Redis memory info"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user