P4 to Git Change 1206897 by emankov@em-hsa-amd on 2015/11/03 10:43:40
SWDEV-77584 - ORCA RT: Preparations for enabling HSAIL on OpenCL 1.2 by default. Fix error (by CL 1205606) in parsing option algorithm.
Compile/link options should be parsed once with additional options specified by AMD_OCL_BUILD(LINK)_OPTIONS(_APPEND) in case of optionChangable or without them, but once.
One static method for parsing all options in ORCA RT is created:
static bool ParseAllOptions(const std::string& options,
option::Options& parsedOptions,
bool optionChangable = true,
bool linkOptsOnly = false)
[Testing] Pre-checkin
[Reviewers] German Andryeyev, Nikolay Haustov
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#37 edit
[ROCm/clr commit: 095b73ae6f]
Esse commit está contido em:
@@ -189,9 +189,10 @@ public:
|
||||
|
||||
static int GetOclCVersion(const char* clVer);
|
||||
|
||||
static bool ParseAMDOCLBUILDOptions(option::Options& options);
|
||||
|
||||
static bool ParseAMDOCLLINKOptions(option::Options& options);
|
||||
static bool ParseAllOptions(const std::string& options,
|
||||
option::Options& parsedOptions,
|
||||
bool optionChangable = true,
|
||||
bool linkOptsOnly = false);
|
||||
};
|
||||
|
||||
/*! @}
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário