Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
neon60 committed Dec 6, 2024
1 parent 6a139c6 commit 21e7cf9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/how-to/hip_runtime_api/asynchronous.rst
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ The example codes
HIP_CHECK(hipDeviceSynchronize());
// Cleanup
hipFree(d_dataA);
hipFree(d_dataB);
HIP_CHECK(hipFree(d_dataA));
HIP_CHECK(hipFree(d_dataB));
std::cout << "Sequential execution completed successfully." << std::endl;
Expand Down Expand Up @@ -314,6 +314,7 @@ The example codes
{
constexpr int numOfBlocks = 256;
constexpr int threadsPerBlock = 4096;
constexpr int numberOfIterations = 50;
size_t arraySize = 1U << 20;
double *d_dataA;
Expand Down Expand Up @@ -401,6 +402,7 @@ The example codes
{
constexpr int numOfBlocks = 256;
constexpr int threadsPerBlock = 4096;
constexpr int numberOfIterations = 50;
size_t arraySize = 1U << 20;
double *d_dataA;
Expand Down

0 comments on commit 21e7cf9

Please sign in to comment.