mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-04-21 07:18:54 +00:00
Formatting updates.
This commit is contained in:
@@ -2,18 +2,17 @@
|
||||
|
||||
#include "test_asserts.cuh"
|
||||
|
||||
|
||||
namespace
|
||||
{
|
||||
__global__ void multiply5(const int32_t* __restrict__ a, int32_t* __restrict__ b)
|
||||
{
|
||||
const auto id = blockIdx.x * blockDim.x + threadIdx.x;
|
||||
b[id] = 5 * a[id];
|
||||
}
|
||||
__global__ void multiply5(const int32_t *__restrict__ a, int32_t *__restrict__ b)
|
||||
{
|
||||
const auto id = blockIdx.x * blockDim.x + threadIdx.x;
|
||||
b[id] = 5 * a[id];
|
||||
}
|
||||
} // namespace
|
||||
|
||||
int main()
|
||||
{
|
||||
{
|
||||
multiply5<<<256, 256>>>(nullptr, nullptr);
|
||||
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user