Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
neon60 committed Oct 9, 2024
1 parent 8310e3c commit c1cb391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/how-to/hip_runtime_api/error_handling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ A complete example demonstrating error handling:
int main()
{
constexpr int N = 100;
float *device_pointer;
float *device_pointer;
// Allocate memory on the device
HIP_CHECK(hipMalloc(&device_pointer, N * sizeof(float);));
Expand Down

0 comments on commit c1cb391

Please sign in to comment.