MCPcopy Create free account
hub / github.com/ROCm/rocPRIM / atomicIncrement

Function atomicIncrement

test/hipgraph/test_hipgraph_basic.cpp:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47// Another simple kernel that can be used to test atomics inside a graph.
48__global__ __launch_bounds__(ROCPRIM_DEFAULT_MAX_BLOCK_SIZE) void atomicIncrement(int* data)
49{
50 atomicAdd(data, 1);
51}
52
53void testStreamCapture()
54{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected