[Profiler plugin] Fix segfault issue with profiler plugin (#1973)
* Fix profiler plugin segfault by correctly setting p2p->func * Look for librccl-profiler.so instead of libnccl-profiler.so Signed-off-by: rahulvaidya20 <ravaidya@amd.com> --------- Signed-off-by: rahulvaidya20 <ravaidya@amd.com> Co-authored-by: Yongjie Qiu <Yongjie.Qiu@amd.com>
This commit is contained in:
@@ -11,12 +11,12 @@ NCCLDIR := $(BUILDDIR)
|
||||
|
||||
SRC_FILES := $(wildcard *.c)
|
||||
|
||||
build: ${BUILDDIR}/libnccl-profiler-example.so
|
||||
build: ${BUILDDIR}/librccl-profiler.so
|
||||
|
||||
${BUILDDIR}/libnccl-profiler-example.so: ${SRC_FILES}
|
||||
${BUILDDIR}/librccl-profiler.so: ${SRC_FILES}
|
||||
@printf "Compiling %-35s > %s\n" $< $@
|
||||
@mkdir -p ${BUILDDIR}
|
||||
$(CC) -Inccl -fPIC -shared -o $@ $^
|
||||
|
||||
clean:
|
||||
rm -f ${BUILDDIR}/libnccl-profiler-example.so
|
||||
rm -f ${BUILDDIR}/librccl-profiler.so
|
||||
|
||||
Reference in New Issue
Block a user