revert workaround for square sample and update doc on GGL

Change-Id: I731c68ca4111e7dc2e45bef51c4cad2c23fc81f8


[ROCm/hip commit: 329e2182d6]
这个提交包含在:
Sun, Peng
2017-03-20 17:03:21 -05:00
父节点 b5e6670807
当前提交 c5b6222d62
修改 5 个文件,包含 4 行新增11 行删除
+1 -7
查看文件
@@ -243,10 +243,4 @@ $HIP/include/hip/hcc_detail/hip_runtime_api.h
$HIP/include/hip/hcc_detail/host_defines.h
Or pass "-DGENERIC_GRID_LAUNCH=1" to hipcc at application compilation time.
There are some limitation/assumptions of GGL implementation right now:
1. GGL was only tested with Ubuntu16.04, assuming HCC and HIP only link against libstdc++ but not libc++.
2. GGL currently requires templated kernel fucntions passed to hipLaunchKernel to be specialized. e.g.:
```
hipLaunchKernel(vector_square<float>, dim3(blocks), dim3(threadsPerBlock), 0, nullptr, C_d, A_d, N);
```
GGL was only tested with Ubuntu16.04, assuming HCC and HIP only link against libstdc++ but not libc++.