Skip to content
Discussion options

You must be logged in to vote

Hi @cgbriggs99, I tried the code snippet you provided, it seems to be working fine though.
Here is the host code I used to launch, perhaps something went wrong in your memory allocation and copying?

#include <hip/hip_runtime.h>
#include <iostream>

#define HIP_CHECK(condition)                                                                       \
    {                                                                                              \
        const hipError_t error = condition;                                                        \
        if (error != hipSuccess)                                                                   \
        {                                   …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cgbriggs99
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants