i found answer! i missed passL!!
    
    
    nim c --cc:clang --clang.exe="nvc" --clang.linkerexe="nvc" 
--passC:"-Minfo=accel -acc=gpu -gpu=cc86" --passL:"-acc=gpu -gpu=cc86" 
-d:release nvc_test.nim
    
    
    Run

now it works! now i can use nim with openacc for hpc by gpu! yeah~ 

Reply via email to