diff options
| author | Mahmoud <[email protected]> | 2019-09-19 22:06:15 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2019-09-19 22:06:15 -0400 |
| commit | 5db69b3e5b058c030075c066db64922bf1e6af02 (patch) | |
| tree | 1de5df881f370ee4e74796c02acf5c0772ff436f /src/trace-driven/trace_opcode.h | |
| parent | de903552c8d716e6b2bd6d0c816063523e35c6c5 (diff) | |
support trace-driven and changing the shader.cc
Diffstat (limited to 'src/trace-driven/trace_opcode.h')
| -rw-r--r-- | src/trace-driven/trace_opcode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/trace-driven/trace_opcode.h b/src/trace-driven/trace_opcode.h index f809238..827c32c 100644 --- a/src/trace-driven/trace_opcode.h +++ b/src/trace-driven/trace_opcode.h @@ -5,6 +5,7 @@ #include "../abstract_hardware_model.h" #include <unordered_map> +#include <string> enum TraceInstrOpcode { @@ -60,7 +61,7 @@ struct OpcodeChar ///Volta SM_70 ISA //see: https://docs.nvidia.com/cuda/cuda-binary-utilities/index.html -static const std::unordered_map<const char*,OpcodeChar> OpcodeMap = { +static const std::unordered_map<std::string,OpcodeChar> OpcodeMap = { //Floating Point 32 Instructions {"FADD", OpcodeChar(OP_FADD, SP_OP)}, {"FADD32I", OpcodeChar(OP_FADD32I, SP_OP)}, |
