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.

This commit is contained in:
Alex Voicu
2017-12-08 04:22:57 +00:00
parent faef491778
commit 4e0739c68a
17 ha cambiato i file con 3958 aggiunte e 94 eliminazioni
@@ -69,7 +69,6 @@ void MemcpyFunction::load(const char *fileName, const char *functionName)
void MemcpyFunction::launch(int * dst, const int * src, size_t numElements, hipStream_t s)
{
struct {
uint32_t _hidden[6];
int* _dst;
const int* _src;
size_t _numElements;