D | multiple_streams.cpp | 24 void vector_add(hipLaunchParm lp, int * a, int * b, int * c, int size) { in vector_add() function 65 …hipLaunchKernel( vector_add, dim3(size / 256), dim3(256), 0, stream0, dev_a0, dev_b0, dev_c0, size… in main() 66 …hipLaunchKernel( vector_add, dim3(size / 256), dim3(256), 0, stream1, dev_a1, dev_b1, dev_c1, size… in main()
|