P4 to Git Change 2040890 by skudchad@skudchad_test2_win_opencl on 2019/12/04 14:16:51

SWDEV-203814 - HIPRTC Inprocess runtime changes(part2)

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/18342/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#37 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#35 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_rtc.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#38 edit
Этот коммит содержится в:
foreman
2019-12-04 14:22:03 -05:00
родитель 7d544e807f
Коммит c999a76da2
2 изменённых файлов: 27 добавлений и 1 удалений
+8
Просмотреть файл
@@ -67,6 +67,11 @@ struct SymbolInfo {
std::vector<std::string>* var_names;
};
struct SymbolLoweredName {
const char* name_expression;
std::string* loweredName;
};
//! A program object for a specific device.
class Program : public amd::HeapObject {
public:
@@ -244,6 +249,9 @@ class Program : public amd::HeapObject {
//! Check if program is HIP based
const bool isHIP() const { return (isHIP_ == 1); }
//! Get mangled name of a name expresion
const bool getLoweredNames(std::vector<std::string>* mangledNames) const;
bool getGlobalVarFromCodeObj(std::vector<std::string>* var_names) const;
bool getUndefinedVarFromCodeObj(std::vector<std::string>* var_names) const;