diff options
| author | Ahmad Alawneh <[email protected]> | 2023-06-07 00:05:06 -0400 |
|---|---|---|
| committer | Ahmad Alawneh <[email protected]> | 2023-06-12 20:31:30 -0400 |
| commit | ccf6662429efcfcf28d1050455163e41553a31f6 (patch) | |
| tree | 3ae6369d5165c2a825c05223fa91a02f090312cb /src/gpgpu-sim/shader.h | |
| parent | e700b1816492bb811e5aa12d1b1b0ec778e04235 (diff) | |
fix more Wsign warnings
Diffstat (limited to 'src/gpgpu-sim/shader.h')
| -rw-r--r-- | src/gpgpu-sim/shader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpgpu-sim/shader.h b/src/gpgpu-sim/shader.h index c486d13..fd4fc1f 100644 --- a/src/gpgpu-sim/shader.h +++ b/src/gpgpu-sim/shader.h @@ -1284,7 +1284,7 @@ class sp_unit : public pipelined_simd_unit { class specialized_unit : public pipelined_simd_unit { public: specialized_unit(register_set *result_port, const shader_core_config *config, - shader_core_ctx *core, unsigned supported_op, + shader_core_ctx *core, int supported_op, char *unit_name, unsigned latency, unsigned issue_reg_id); virtual bool can_issue(const warp_inst_t &inst) const { if (inst.op != m_supported_op) { @@ -1297,7 +1297,7 @@ class specialized_unit : public pipelined_simd_unit { bool is_issue_partitioned() { return true; } private: - unsigned m_supported_op; + int m_supported_op; }; class simt_core_cluster; |
