Skip to content

Commit

Permalink
Merge pull request oneapi-src#2474 from andrewtbarker/deprecated-disp…
Browse files Browse the repository at this point in the history
…atch

Remove deprecated target variant dispatch from oneMKL sample
  • Loading branch information
jimmytwei authored Sep 17, 2024
2 parents af0c08b + 0928522 commit 6be606b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 125 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include_directories(common)

add_example_with_mkl(dgemm_target_variant_dispatch_c)
add_example_with_mkl(dgemm_dispatch_c)
add_example_with_mkl(dgemm_example_01)
add_example_with_mkl(dgemm_example_02)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ int main()

#pragma omp target data map(to: A[0:m*k], B[0:k*n]) map(tofrom: C[0:m*n])
{
#pragma omp target variant dispatch use_device_ptr(A, B, C)
#pragma omp dispatch
cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans,
m, n, k, alpha, A, k, B, n, beta, C, n);
}
Expand Down

This file was deleted.

0 comments on commit 6be606b

Please sign in to comment.