SWDEV-340007 - make correction in readme.md (#2817)
Change-Id: Icbf61dc36ae7944173399f89fa68058e25e154c2
[ROCm/hip commit: 1f11cabcbb]
Este commit está contenido en:
cometido por
GitHub
padre
93920e324c
commit
98c284f7db
@@ -70,9 +70,9 @@ Programmers familiar with CUDA will also be able to quickly learn and start codi
|
||||
Compute kernels are launched with the "hipLaunchKernelGGL" macro call. Here is simple example showing a
|
||||
snippet of HIP API code:
|
||||
|
||||
```cpp
|
||||
hipMalloc(&A_d, Nbytes));
|
||||
hipMalloc(&C_d, Nbytes));
|
||||
```
|
||||
hipMalloc(&A_d, Nbytes);
|
||||
hipMalloc(&C_d, Nbytes);
|
||||
|
||||
hipMemcpy(A_d, A_h, Nbytes, hipMemcpyHostToDevice);
|
||||
|
||||
|
||||
Referencia en una nueva incidencia
Block a user