I would not feed a whole cooked fish of any kind to a dog. Cooking changes the dynamics of the bones, which could present a choking hazard and digestibility issues for your dog.
If the salmon is farm raised, no need to worry about SPD. If it's wild PNW, California, or Alaska Salmon, just freeze the fish for awhile, then thaw and feed raw. Freezing will kill the organisms. Here are the FDA guidelines for freezing fish to kill parasites.
Freezing and storing at -4°F (-20°C) or below for 7 days (total time), or freezing at -31°F (-35°C) or below until solid and storing at -31°F (-35°C) or below for 15 hours, or freezing at -31°F (-35°C) or below until solid and storing at -4°F (-20°C) or below for 24 hours is sufficient to kill parasites. FDA's Food Code recommends these freezing conditions to retailers who provide fish intended for raw consumption.
Note: these conditions may not be suitable for freezing particularly large fish (e.g. thicker than six inches).