mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 14:15:19 -04:00
DBM: MAX_BATCH_SIZE 10000 -> 30000 (#3890)
- MAX_BATCH_SIZE tuned on CPUs assuming GPUs benefit even more. - Driver/Makefile/HIP: missing object file/compilation.
This commit is contained in:
parent
2b6cf0497c
commit
062e9bb49d
2 changed files with 4 additions and 4 deletions
|
|
@ -91,10 +91,10 @@ endif
|
|||
all: dbm_miniapp.x
|
||||
|
||||
clean:
|
||||
rm -fv *.o ../offload/*.o $(OPENCL_GENKRNL)
|
||||
rm -fv $(ALL_OBJECTS) $(OPENCL_GENKRNL)
|
||||
|
||||
realclean: clean
|
||||
rm -fv *.x
|
||||
rm -fv dbm_miniapp.x
|
||||
|
||||
|
||||
# Enable OpenCL when DBCSR library was prebuilt (assume __DBCSR_ACC).
|
||||
|
|
@ -169,7 +169,7 @@ endif
|
|||
|
||||
# Enable HIP/ROCm when hipcc compiler is present.
|
||||
else ifneq ($(HIPCC),)
|
||||
ALL_OBJECTS += dbm_multiply_gpu.o
|
||||
ALL_OBJECTS += dbm_multiply_gpu.o dbm_multiply_gpu_kernel.o
|
||||
CFLAGS += -I${ROCM_PATH}/include -D__OFFLOAD_HIP -D__HIP_PLATFORM_AMD__
|
||||
LIBS += -L${ROCM_PATH}/lib -lamdhip64 -lhipfft -lhipblas -lrocblas
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#define HASHTABLE_FACTOR 3.0
|
||||
#define ALLOCATION_FACTOR 1.5
|
||||
#define SHARDS_PER_THREAD 1.0
|
||||
#define MAX_BATCH_SIZE 10000
|
||||
#define MAX_BATCH_SIZE 30000
|
||||
#define BATCH_NUM_BUCKETS 1000
|
||||
#define INITIAL_NBLOCKS_ALLOCATED 100
|
||||
#define INITIAL_DATA_ALLOCATED 1024
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue