I am trying to change default stack size to assign a big array.
I added nvcc linking option like the below.
-Xlinker -Wl,–stack,16600000
But I face the error message.
unrecognized option ‘-Wl’ linking error
How can I change the stack size option?
My system environment:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2013 NVIDIA Corporation
Built on Wed_Jul_17_18:36:13_PDT_2013
Cuda compilation tools, release 5.5, V5.5.0
g++ (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4)
Copyright (C) 2010 Free Software Foundation, Inc