From aaf1e27af2182f8f8d996753fd6f24a56ea3fa12 Mon Sep 17 00:00:00 2001 From: Andy li Date: Sat, 9 Mar 2024 02:02:40 +0800 Subject: [PATCH] update the fp8 header file name (#65) * update the fp8 header name [ROCm/rccl-tests commit: e447c173822e5e6ae47681f3e8386b72036f0bce] --- projects/rccl-tests/src/CMakeLists.txt | 2 +- projects/rccl-tests/src/common.cu | 2 +- projects/rccl-tests/src/{rccl_bfloat8.h => rccl_float8.h} | 0 projects/rccl-tests/verifiable/verifiable.cu | 2 +- projects/rccl-tests/verifiable/verifiable.mk | 4 ++-- 5 files changed, 5 insertions(+), 5 deletions(-) rename projects/rccl-tests/src/{rccl_bfloat8.h => rccl_float8.h} (100%) diff --git a/projects/rccl-tests/src/CMakeLists.txt b/projects/rccl-tests/src/CMakeLists.txt index e27a0cf74b..2ae943b13e 100644 --- a/projects/rccl-tests/src/CMakeLists.txt +++ b/projects/rccl-tests/src/CMakeLists.txt @@ -71,7 +71,7 @@ set(COMMON_FILES common.h common.cu nccl1_compat.h - rccl_bfloat8.h + rccl_float8.h rccl_bfloat16.h timer.h timer.cc diff --git a/projects/rccl-tests/src/common.cu b/projects/rccl-tests/src/common.cu index 531cc0bea8..dd9add2383 100644 --- a/projects/rccl-tests/src/common.cu +++ b/projects/rccl-tests/src/common.cu @@ -8,7 +8,7 @@ ************************************************************************/ #include "cuda_runtime.h" -#include "rccl_bfloat8.h" +#include "rccl_float8.h" #include "rccl_bfloat16.h" #include "common.h" #include diff --git a/projects/rccl-tests/src/rccl_bfloat8.h b/projects/rccl-tests/src/rccl_float8.h similarity index 100% rename from projects/rccl-tests/src/rccl_bfloat8.h rename to projects/rccl-tests/src/rccl_float8.h diff --git a/projects/rccl-tests/verifiable/verifiable.cu b/projects/rccl-tests/verifiable/verifiable.cu index e6fd1dfc35..32c13b048e 100644 --- a/projects/rccl-tests/verifiable/verifiable.cu +++ b/projects/rccl-tests/verifiable/verifiable.cu @@ -13,7 +13,7 @@ #include #include "rccl/rccl.h" -#include "rccl_bfloat8.h" +#include "rccl_float8.h" #if NCCL_VERSION_CODE >= NCCL_VERSION(2,10,0) && RCCL_BFLOAT16 == 1 #define HAVE_ncclBfloat16 1 diff --git a/projects/rccl-tests/verifiable/verifiable.mk b/projects/rccl-tests/verifiable/verifiable.mk index 98ffc6ecba..8eb160b12a 100644 --- a/projects/rccl-tests/verifiable/verifiable.mk +++ b/projects/rccl-tests/verifiable/verifiable.mk @@ -21,12 +21,12 @@ ${HIPIFY_DIR}/verifiable.h: $(TEST_VERIFIABLE_SRCDIR)/verifiable.h @mkdir -p ${HIPIFY_DIR} hipify-perl -quiet-warnings $< > $@ -${HIPIFY_DIR}/rccl_bfloat8.h: $(TEST_VERIFIABLE_SRCDIR)/../src/rccl_bfloat8.h +${HIPIFY_DIR}/rccl_float8.h: $(TEST_VERIFIABLE_SRCDIR)/../src/rccl_float8.h @printf "Hipifying %-35s > %s\n" $< $@ @mkdir -p ${HIPIFY_DIR} hipify-perl -quiet-warnings $< > $@ -$(TEST_VERIFIABLE_BUILDDIR)/verifiable.o: $(HIPIFY_DIR)/verifiable.cu.cpp $(HIPIFY_DIR)/verifiable.h $(HIPIFY_DIR)/rccl_bfloat8.h +$(TEST_VERIFIABLE_BUILDDIR)/verifiable.o: $(HIPIFY_DIR)/verifiable.cu.cpp $(HIPIFY_DIR)/verifiable.h $(HIPIFY_DIR)/rccl_float8.h @printf "Compiling %s\n" $@ @mkdir -p $(TEST_VERIFIABLE_BUILDDIR) echo " $(HIPCC) -o $@ $(HIPCUFLAGS) -c $<"