Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Fixed rename errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ogiroux committed Jan 29, 2021
1 parent 1458b2c commit a8921b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions benchmarks/concurrency.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@ struct ticket_mutex {
};

struct sem_mutex {
void lock() noexcept {
__host__ __device__ void lock() noexcept {
c.acquire();
}
void unlock() noexcept {
__host__ __device__ void unlock() noexcept {
c.release();
}
sem_mutex() : c(1) { }
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/concurrency.cu
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#include "benchmark.cpp"
#include "concurrency.cpp"

0 comments on commit a8921b4

Please sign in to comment.