P4 to Git Change 1171714 by marsenau@marsenau_home on 2015/07/17 19:29:59

ECR #304775 - First batch of build fixes for clang.

	Fixes hard source errors and a handful of simple warnings, but leaves most other warnings for later. Other errors not fixed here are from adding compile flags that are not understood.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/clc/src/e2lCommon.h#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/BRIGAsmPrinter.cpp#117 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#162 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#289 edit


[ROCm/clr commit: 5b3ecedc9b]
이 커밋은 다음에 포함됨:
foreman가 2015-07-17 19:50:05 -04:00를 커밋했습니다
1 부모 e6739a6ac6
커밋 dacc6487bb
2 파일이 변경됨
+7 -4

검색과 일치하는 파일 없음

+4 -1
파일 보기
@@ -10,7 +10,10 @@
#include "llvm/Analysis/Passes.h"
namespace llvm {
class Module;
class FunctionPassManager;
namespace legacy {
class FunctionPassManager;
}
}; // llvm namespace
namespace amdcl
{
+3 -3
파일 보기
@@ -3993,7 +3993,7 @@ HSAILKernel::loadArguments(
mem = *reinterpret_cast<amd::Memory* const*>(paramaddr);
if (mem == NULL) {
LogError( "The kernel image argument isn't an image object!");
return false;
return nullptr;
}
image = static_cast<Image*>(dev().getGpuMemory(mem));
}
@@ -4063,8 +4063,8 @@ HSAILKernel::loadArguments(
}
else {
if (!gpu.createVirtualQueue(queue->size())) {
LogError( "Virtual queue creaiton failed!");
return false;
LogError("Virtual queue creation failed!");
return nullptr;
}
vmQueue = gpu.vQueue()->vmAddress();
}