From a8921b48f3cfdfcc68a4ad54dbbc17d6630f1887 Mon Sep 17 00:00:00 2001 From: Olivier Giroux Date: Fri, 29 Jan 2021 14:49:30 -0800 Subject: [PATCH] Fixed rename errors --- benchmarks/concurrency.cpp | 4 ++-- benchmarks/concurrency.cu | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmarks/concurrency.cpp b/benchmarks/concurrency.cpp index 9374a99d0f..e8121a8c9b 100755 --- a/benchmarks/concurrency.cpp +++ b/benchmarks/concurrency.cpp @@ -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) { } diff --git a/benchmarks/concurrency.cu b/benchmarks/concurrency.cu index 1b82814fa8..e3b7bf5832 100644 --- a/benchmarks/concurrency.cu +++ b/benchmarks/concurrency.cu @@ -1 +1 @@ -#include "benchmark.cpp" +#include "concurrency.cpp"