hi Andrea,
I am sorry for my late response. was a bit busy at the start of the semester, combined with traveling ...
for the mmc-trinity build, if you use cmake, can you add the
following two lines to the CMakeList.txt, and regenerate the
makefile and binary?
fangq@taote:~/space/git/Project/github/mmc/src/build$ git
diff
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3036195..0bf9550 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -88,6 +88,7 @@ add_library(mmc STATIC
mmc_rand_xorshift128p.c
mmc_rand_xorshift128p.h
mmc_bench.h
+ mmc_bench.c
mmc_tictoc.c
mmc_tictoc.h
mmc_cl_utils.c
@@ -179,6 +180,7 @@ if(BUILD_MEX AND Matlab_FOUND)
mmc_rand_xorshift128p.c
mmc_rand_xorshift128p.h
mmc_bench.h
+ mmc_bench.c
mmc_tictoc.c
mmc_tictoc.h
mmc_cl_utils.c
otherwise, you could directly use "make cudamex" inside the src folder. the Makefile approach does link with mmc_bench.o, but cmake file seems to have this missing.
let me know if that fixes the error you saw.
Qianqian
--
You received this message because you are subscribed to the Google Groups "mmc-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mmc-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mmc-users/3b6e29ea-fce5-4eac-ae20-ba5f39331659n%40googlegroups.com.
hi Andrea,
this is a known memory leakage bug in cuda's opencl runtime. I
have reported this since 2020, but there has not been a fix
yes, using the cuda backend with the trinity version of
mmc/mmclab would avoid this.
Qianqian
--
You received this message because you are subscribed to the Google Groups "mmc-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mmc-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mmc-users/229b36d4-60ed-4186-8ad4-1bb913af7d29n%40googlegroups.com.
try download a linux binary I built on Ubuntu 18.04 with cuda
11.3 from
https://mcx.space/nightly/linux64/mmc_trinity_mex.tar.gz
let me know if it works.
for your own builds, did you do a make clean or removing cmake cached files before building again?
To view this discussion on the web visit https://groups.google.com/d/msgid/mmc-users/8d11bfa9-5eb8-4c86-97b8-f45273427480n%40googlegroups.com.