Added new Memory API's (#1399)
Added new memory API's hipMemAllocPitch, hipMemAllocHost, hipMemsetD16, hipMemsetD16Async, hipMemsetD8Async
Modified to support all scenarios hipMemcpyParam2DAsync, hipMemcpyParam2D.
[ROCm/hip commit: ba9c6e13e4]
This commit is contained in:
1 والد
7dbc574a4b
کامیت
66e94b1b1f
12 files changed
+404
-48
No files matched your search
@@ -234,7 +234,7 @@ void checkFunctional() {
|
||||
|
||||
int main() {
|
||||
bool* result{nullptr};
|
||||
hipHostMalloc(&result, sizeof(result));
|
||||
hipMemAllocHost((void**)&result, sizeof(result));
|
||||
|
||||
result[0] = false;
|
||||
hipLaunchKernelGGL(
|
||||
|
||||
Reference in new issue
Block a user