P4 to Git Change 1247541 by smekhano@stas-rampitec-hsa on 2016/03/15 13:32:04

SWDEV-77584 - fixed work of option -cl-uniform-work-group-size to produce requirenopartialworkgroups in hsail

	Testing: smoke, precheckin
	Reviewed by Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#67 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILKernelManager.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/ocl_features.tlst#52 edit


[ROCm/clr commit: 0967db2af7]
Этот коммит содержится в:
foreman
2016-03-15 13:46:39 -04:00
родитель 8bee1611b9
Коммит a28efbda7f
+1
Просмотреть файл
@@ -658,6 +658,7 @@ CLCodeGen::codegen(llvm::Module *input)
if (!isHSAILTarget(cs->Elf()->target)) {
setWholeProgram(true);
}
setUniformWorkGroupSize(Options()->oVariables->UniformWorkGroupSize);
int ret = llvmCodeGen(LLVMBinary(), Options(), Source(), Elf());