Integration with CUDA
Posted: Tue Dec 07, 2010 3:04 am
Hello developers.
I've tried to integrate my CUDA SPH solver into the realflow as an custom particle solver plugin.
I've succeeded in complie and build a dll in Debug_DLL with x64 configuration.
After the dll successfully loaded, I've run 'Attach to process' to debug my plugin.
However the break-points were not working.
Those break-points are active(normal red dot) but I can't grab the process with them.
(I've linked a mov file that captures the reproduce process for the same situation)
http://taekwon.kaist.ac.kr/mov.zip
The 'surface tension' example worked fine which I copied and modified to build up my current solution.
It just stopped normally at the break-points in every virtual functions.
The 'cuda sph' also had worked fine as a standalone program in x64 windows.
I'm using
--------------------------
CUDA SDK: 3.2.16
Visual studio 2008 with SP1
Realflow 5.0.3
windows 7 Enterprise
gtx260
in MacPro
--------------------------
I'm not sure whether
1) there exists any potential conflict between RF_SDK with CUDA SDK3.2.16
2) there exists my mistake in coding custom ParticleSolverPlgSdk class
Could you let me know what would be the problem?
I've tried to integrate my CUDA SPH solver into the realflow as an custom particle solver plugin.
I've succeeded in complie and build a dll in Debug_DLL with x64 configuration.
After the dll successfully loaded, I've run 'Attach to process' to debug my plugin.
However the break-points were not working.
Those break-points are active(normal red dot) but I can't grab the process with them.
(I've linked a mov file that captures the reproduce process for the same situation)
http://taekwon.kaist.ac.kr/mov.zip
The 'surface tension' example worked fine which I copied and modified to build up my current solution.
It just stopped normally at the break-points in every virtual functions.
The 'cuda sph' also had worked fine as a standalone program in x64 windows.
I'm using
--------------------------
CUDA SDK: 3.2.16
Visual studio 2008 with SP1
Realflow 5.0.3
windows 7 Enterprise
gtx260
in MacPro
--------------------------
I'm not sure whether
1) there exists any potential conflict between RF_SDK with CUDA SDK3.2.16
2) there exists my mistake in coding custom ParticleSolverPlgSdk class
Could you let me know what would be the problem?