UWB-Biocomputing / Graphitti

A project to facilitate construction of high-performance simulations of graph-structured systems.
https://uwb-biocomputing.github.io/Graphitti/
Apache License 2.0
8 stars 15 forks source link

True Cross Platform (Windows) Support #302

Open valenotary opened 3 years ago

valenotary commented 3 years ago

Graphitti should be able to run on any 64-bit device - primarily Windows, but I do not see why not on Apple as well. The primary development and testing environments will be Windows and Linux though.

Here are some current points:

stiber commented 3 years ago

Actually, Mac already works. It seems clang is very close to g++, in that respect.

Note that Graphitti is a 32-bit program, as all GPUs (as far as I know) are 32-bit hardware.

stiber commented 3 years ago

We should replace Timer with more modern timing calls (this is for performance measurement, I assume). There may be another issue about this; if not, I have example code.

valenotary commented 3 years ago

Last time I checked on the CUDA docs, the CUDA toolkit is explicitly 64-bit only nowadays, and as such you can't develop a CUDA application that's not on a 64-bit system. Supposedly you can still target to build a 32-bit application though. image

stiber commented 3 years ago

This is something to look into. They may just mean 64-bit machine code, not 64-bit datatypes. As far as I know, GPU hardware only supports 32-bit single precision directly, with 64-bit synthesized from multiple operations and so much slower. But it would be interesting to get the deeper details.