Open gnzlbg opened 6 years ago
There is no technical limitation for that, simply I didn't find enough energy to support them both. Choosing a main supported target, I considered a fact that CUDA and HPC systems usually operate with big amounts of data, so there is no serious chance of running them on a 32-bit host OS.
I'm not sure how can we automatically distinguish between 32-bit and 64-bit target from build.rs
script. I think it only can get info about host target, which can differ from actual target in case of cross-compilation.
So if we decide to support both targets, I think we will have to go with manual specification the expected target.
I think it only can get info about host target, which can differ from actual target in case of cross-compilation.
Inside a build script, HOST
is the triple of the system in which compilation is happening, and TARGET
is the triple of the system being actually target.
I only see
nvptx64-nvidia-cuda
as a supported target, is it also possible to use rust-ptx-builder from a 32-bit host ? (e.g.i686-unknown-linux-gnu
ori686-apple-darwin
?)