mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
minor update
This commit is contained in:
parent
d105b91438
commit
7842520848
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ void Cluster::barrier(uint32_t bar_id, uint32_t count, uint32_t core_id) {
|
|||
auto sockets_per_cluster = sockets_.size();
|
||||
auto cores_per_socket = cores_per_socket_;
|
||||
|
||||
uint32_t cores_per_cluster = sockets_.size();
|
||||
uint32_t cores_per_cluster = sockets_per_cluster * cores_per_socket;
|
||||
uint32_t local_core_id = core_id % cores_per_cluster;
|
||||
barrier.set(local_core_id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue