Skip to content

Commit

Permalink
modfied samples to use ac
Browse files Browse the repository at this point in the history
  • Loading branch information
dlangbe committed Nov 13, 2024
1 parent e6bb031 commit 284fef0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions samples/01_contraction/simple_bilinear_contraction.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* MIT License
*
* Copyright (C) 2023-2024 Advanced Micro Devices, Inc. All rights reserved.
* Copyright (C) 2023-2025 Advanced Micro Devices, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -240,7 +240,7 @@ int bilinearContractionSample(void* alpha, void* beta)
***************************/

hiptensorContractionFind_t find;
CHECK_HIPTENSOR_ERROR(hiptensorInitContractionFind(handle, &find, HIPTENSOR_ALGO_DEFAULT));
CHECK_HIPTENSOR_ERROR(hiptensorInitContractionFind(handle, &find, HIPTENSOR_ALGO_ACTOR_CRITIC));

/**********************
* Query workspace
Expand Down
4 changes: 2 additions & 2 deletions samples/01_contraction/simple_scale_contraction.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* MIT License
*
* Copyright (C) 2023-2024 Advanced Micro Devices, Inc. All rights reserved.
* Copyright (C) 2023-2025 Advanced Micro Devices, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -232,7 +232,7 @@ int scaleContractionSample(void* alpha)
***************************/

hiptensorContractionFind_t find;
CHECK_HIPTENSOR_ERROR(hiptensorInitContractionFind(handle, &find, HIPTENSOR_ALGO_DEFAULT));
CHECK_HIPTENSOR_ERROR(hiptensorInitContractionFind(handle, &find, HIPTENSOR_ALGO_ACTOR_CRITIC));

/**********************
* Query workspace
Expand Down

0 comments on commit 284fef0

Please sign in to comment.