Is this a duplicate?
Area
General CCCL
Is your feature request related to a problem? Please describe.
We are extending freestanding mode support from device-only sources to host sources as well (see #7743). To validate this work end-to-end, we need test infrastructure capable of compiling and executing representative freestanding inputs without relying on system headers. We should first bring in the minimal compiler infrastructure needed to support freestanding-mode testing for host + device source combinations.
Describe the solution you'd like
Merge the compiler infrastructure from the https://github.com/gevtushenko/cccl/tree/freestanding branch. This should be introduced strictly for testing freestanding behavior and should not be linked into or otherwise affect production binaries. This issue can be closed once we have a freestanding compiler test that can build and run a source like:
std::string source = R"(
__global__ void device(int* ptr) {
*ptr = 42;
}
void host(int* ptr) {
device<<<1, 1>>>(ptr);
}
)";
Describe alternatives you've considered
No response
Additional context
No response
Is this a duplicate?
Area
General CCCL
Is your feature request related to a problem? Please describe.
We are extending freestanding mode support from device-only sources to host sources as well (see #7743). To validate this work end-to-end, we need test infrastructure capable of compiling and executing representative freestanding inputs without relying on system headers. We should first bring in the minimal compiler infrastructure needed to support freestanding-mode testing for host + device source combinations.
Describe the solution you'd like
Merge the compiler infrastructure from the https://github.com/gevtushenko/cccl/tree/freestanding branch. This should be introduced strictly for testing freestanding behavior and should not be linked into or otherwise affect production binaries. This issue can be closed once we have a freestanding compiler test that can build and run a source like:
Describe alternatives you've considered
No response
Additional context
No response