Skip to content

Commit a7a8715

Browse files
committed
Update README
1 parent 94dd14b commit a7a8715

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ The library takes care of storing all the memory accesses using the provided dat
5454

5555
Should these data formats not be sufficient for your needs, you can easily pass in a custom callback function to the library. This callback function will be called for every memory access and can be used to store the data in any format you like. To get an idea how to use it (as it is not documented), you can take a look inside the `generateTemplatedOutput` function.
5656

57+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
5758

5859
## Usage
5960

@@ -271,6 +272,8 @@ __global__ void kernel(CudaMemAccessLogger<int> data) {
271272

272273
The library does not synchronize the device after each kernel call. This means that if you want to get the data from the device, you need to synchronize the device manually. You do this either by explicitly calling `cudaDeviceSynchronize()` before using any of the `CudaMemAccessStorage` functions to output the data, or you can just place the call to for example `generateJSONOutput` below a synchronous memory operation, like `cudaMemcpy`.
273274

275+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
276+
274277
## Contributing
275278

276279
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

0 commit comments

Comments
 (0)