Biophysical-Fluorescence-Laboratory / Imaging_FCS

Imaging_FCS is a basic ImageJ plugin to calculate and view spatio-temporal correlation functions from 16 bit gray tiff stack files.
https://www.dbs.nus.edu.sg/lab/BFL/imfcs_image_j_plugin.html
0 stars 1 forks source link

CUDA operations: Linux support #6

Closed Marc-Demoustier closed 7 months ago

Marc-Demoustier commented 7 months ago

Right now, the java code use dll files that comes from the compilation of the C++ / Cuda code. But .dll files are only for Windows. If we compile this project the right way with CMake (see https://github.com/Biophysical-Fluorescence-Laboratory/Imaging_FCS/issues/3), we can produce .so files.

Once we have this .so files, we need to update the java code to not load .dll files but just the library file names. Java will automatically add the extension depending of the OS used.

This should give a full compatibility between Linux and Windows for the plugin. (MacOSX doesn't support CUDA but it still works on CPU).