2
0

P4 to Git Change 1250949 by gandryey@gera-w8 on 2016/03/24 12:06:49

SWDEV-90618 - cl_kernel_info_amd always returns 0 when working via HSAIL path
	- Allow null kernel creation for offline compilation

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#312 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#224 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#66 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuscsi.cpp#36 edit
Este cometimento está contido em:
foreman
2016-03-24 12:15:44 -04:00
ascendente a255836ac8
cometimento 5e7eb30dd7
4 ficheiros modificados com 54 adições e 27 eliminações
+1 -4
Ver ficheiro
@@ -3422,10 +3422,7 @@ HSAILKernel::init(amd::hsa::loader::Symbol *sym, bool finalize)
}
}
// Allocate HW resources for the real program only
if (!prog().isNull()) {
aqlCreateHWInfo(sym);
}
aqlCreateHWInfo(sym);
// Pull out metadata from the ELF
size_t sizeOfArgList;