Some hotels let you smoke weed in the rooms, but you'll have to ask. You could just smoke it walking down the street but that's kinda risky.

I know there's a big park near the Leidesplein plaza, I smoked there a few times, pretty safe. If you look on any map of amsterdam you'll find it. that's the only place I know of, there's probably much better places though.