파일
rocm-systems/samples/0_Intro/module_api/vcpy_isa.cpp
T

10 라인
157 B
C++
Raw 일반 보기 히스토리

#include<hip_runtime.h>
__global__ void hello_world(hipLaunchParm lp, float *a, float *b)
{
int tx = hipThreadIdx_x;
b[tx] = a[tx];
}
int main(){}