Closed yxsamliu closed 4 years ago
I think it is highly undesirable for a JIT to fork/exec and we have worked hard to avoid that for OpenCL compilation. If there is not a pending emergency, let's handle this properly.
I think it is highly undesirable for a JIT to fork/exec and we have worked hard to avoid that for OpenCL compilation. If there is not a pending emergency, let's handle this properly.
As discussed, in-process-compilation is not an imminent feature for HIP. In the first stage it will be out of process.
Updated the PR to let the caller specify hipcc path through compilation options. This is because there are situations where environment variable cannot be used to find the path to hipcc.
Revised by Scott's comments.