Skip to content

Commit

Permalink
Update build.sh (#63200)
Browse files Browse the repository at this point in the history
  • Loading branch information
co63oc authored Apr 3, 2024
1 parent 401bfb1 commit 5f32f92
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/cinn/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ cuda_config=OFF
cudnn_config=OFF

mklcblas_config=ON
mkldnn_config=ON
onednn_config=ON

function mklcblas_off {
mklcblas_config=OFF
}
function mkldnn_off {
mkldnn_config=OFF
function onednn_off {
onednn_config=OFF
}


Expand Down Expand Up @@ -204,11 +204,11 @@ function main {
case $i in
mklcblas_off)
mklcblas_off
mkldnn_off
onednn_off
shift
;;
mkldnn_off)
mkldnn_off
onednn_off)
onednn_off
shift
;;
gpu_on)
Expand Down

0 comments on commit 5f32f92

Please sign in to comment.