This introduces LipoProteinLipase (lpl), a simple tool for creating fat binaries. It represents a direct replacement of the creaky hccgenco.sh script, which had various issues. The format it uses is that of a code object bundle, generated by the Clang Offload Bundler. The output is always suffixed with the ".adipose" extension. It is shared with HCC. The hipcc script and associated tests are modified to use lpl. Help can be obtained by invoking lpl --help. A more computer-sciency / corporate friendly name is likely to be beneficial, which is a reason for choosing easily searchable/replaceable names such as lpl or adipose.

[ROCm/clr commit: 4e0739c68a]
This commit is contained in:
Alex Voicu
2017-12-08 04:22:57 +00:00
والد a25a01f2c9
کامیت aa48cc7b55
17فایلهای تغییر یافته به همراه3958 افزوده شده و 94 حذف شده
@@ -35,7 +35,7 @@ THE SOFTWARE.
#define LEN 64
#define SIZE LEN<<2
#define fileName "vcpy_kernel.code"
#define fileName "vcpy_kernel.code.adipose"
#define kernel_name "hello_world"
#define HIP_CHECK(status) \
@@ -72,7 +72,6 @@ int main(){
uint32_t one = 1;
struct {
uint32_t _hidden[6];
void * _Ad;
void * _Bd;
} args;