ファイル
rocm-systems/projects/hip-tests/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(){}