Skip to content

Commit 6be606b

Browse files
authored
Merge pull request #2474 from andrewtbarker/deprecated-dispatch
Remove deprecated target variant dispatch from oneMKL sample
2 parents af0c08b + 0928522 commit 6be606b

File tree

3 files changed

+1
-125
lines changed

3 files changed

+1
-125
lines changed

Publications/GPU-Opt-Guide/OpenMP/22_mkl_dispatch/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
include_directories(common)
22

3-
add_example_with_mkl(dgemm_target_variant_dispatch_c)
43
add_example_with_mkl(dgemm_dispatch_c)
54
add_example_with_mkl(dgemm_example_01)
65
add_example_with_mkl(dgemm_example_02)

Publications/GPU-Opt-Guide/OpenMP/22_mkl_dispatch/dgemm_dispatch_c.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ int main()
6363

6464
#pragma omp target data map(to: A[0:m*k], B[0:k*n]) map(tofrom: C[0:m*n])
6565
{
66-
#pragma omp target variant dispatch use_device_ptr(A, B, C)
66+
#pragma omp dispatch
6767
cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans,
6868
m, n, k, alpha, A, k, B, n, beta, C, n);
6969
}

Publications/GPU-Opt-Guide/OpenMP/22_mkl_dispatch/dgemm_target_variant_dispatch_c.cpp

-123
This file was deleted.

0 commit comments

Comments
 (0)