P4 to Git Change 1151052 by emankov@em-hsa-amd on 2015/05/14 15:16:47

ECR #333753 - Compiler Lib/RT: libutils.h usage removal due to non-API interface

	Utils are to be used only by Compiler Lib itself.

	Testing: pre checkin

	Reviewers: German Andryeyev, Brian Sumner, Yaxun Liu

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#178 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#193 edit
This commit is contained in:
foreman
2015-05-14 15:28:01 -04:00
förälder 889deb9f55
incheckning 1c5ee64101
4 ändrade filer med 28 tillägg och 22 borttagningar
+10 -1
Visa fil
@@ -15,7 +15,6 @@
#include <sstream>
#include <cstdio>
#include "utils/options.hpp"
#include "utils/libUtils.h"
#include "hsa.h"
#include "hsa_ext_image.h"
@@ -2118,6 +2117,16 @@ HSAILProgram::getNextCompilationStageFromBinary(amd::option::Options* options) {
return continueCompileFrom;
}
inline static std::vector<std::string>
splitSpaceSeparatedString(char *str)
{
std::string s(str);
std::stringstream ss(s);
std::istream_iterator<std::string> beg(ss), end;
std::vector<std::string> vec(beg, end);
return vec;
}
bool
HSAILProgram::linkImpl(amd::option::Options* options)
{