Changed library names and machinery for CUDA.

This commit is contained in:
sfilippone
2025-12-03 17:35:03 +01:00
parent 43fcc53344
commit 339efde796
7 changed files with 14 additions and 27 deletions
+3 -2
View File
@@ -3,10 +3,11 @@ include $(TOP)/Make.inc
#
# Libraries used
#
UP=..
LIBDIR=$(TOP)/lib
INCDIR=$(TOP)/include
MODDIR=$(TOP)/modules
LIBNAME=libspgpu.a
LIBNAME=$(UP)/libpsb_cuda.a
OBJS=coo.o core.o dia.o ell.o hdia.o hell.o
CU_INCLUDES=-I$(INCDIR) $(CUDA_INCLUDES)
@@ -17,7 +18,7 @@ objs: incl $(OBJS) iobjs
lib: objs iobjs ilib
$(AR) $(LIBNAME) $(OBJS)
/bin/cp -p $(LIBNAME) $(LIBDIR)
# /bin/cp -p $(LIBNAME) $(LIBDIR)
iobjs:
$(MAKE) -C kernels objs
+1 -1
View File
@@ -7,7 +7,7 @@ LIBDIR=$(TOP)/lib
INCDIR=$(TOP)/include
MODDIR=$(TOP)/modules
UP=..
LIBNAME=$(UP)/libspgpu.a
LIBNAME=$(UP)/libpsb_cuda.a
CINCLUDES=-I$(INCDIR)
CU_INCLUDES=-I$(INCDIR) $(CUDA_INCLUDES)
OBJS=cabs.o camax.o casum.o caxpby.o caxy.o cdot.o cgath.o \