update the fp8 header file name (#65)

* update the fp8 header name

[ROCm/rccl-tests commit: e447c17382]
This commit is contained in:
Andy li
2024-03-09 02:02:40 +08:00
committato da GitHub
parent c128f0422d
commit aaf1e27af2
5 ha cambiato i file con 5 aggiunte e 5 eliminazioni
+1 -1
Vedi File
@@ -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
+1 -1
Vedi File
@@ -8,7 +8,7 @@
************************************************************************/
#include "cuda_runtime.h"
#include "rccl_bfloat8.h"
#include "rccl_float8.h"
#include "rccl_bfloat16.h"
#include "common.h"
#include <pthread.h>
@@ -13,7 +13,7 @@
#include <hip/hip_bfloat16.h>
#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
@@ -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 $<"