Well, according to government statistics, the "Percent Black or African-American" represent about 7.1% of 2011 graduates and about 7.4% of the workforce, and both are trending upwards. Compare the roughly 7.4% of black computer programmers with 10.8% of the general population. So a smaller percent of the population get the training, but those who get the training are not discriminated against for hiring purposes. (Not talking about wages, just hiring diversity.)
From the same report with a 10-year granularity, females make up about 33.9% of the 2011 graduates and about 26.6% of the computer programming workforce. Women are also making up an increasing number of the workforce that changes based on age. The report notes "these estimates could be consistent with an age effect. That is, when women are young, they are more likely to be employed in STEM, but as they age, they move out of STEM employment." The trend lines show 35-year-old females in the group as a growing population, with the growth dropping rapidly by age groups. Compare that with the 48% females in the general national workforce. So in hiring diversity women do make up a lower number by diversity but it is largely by their own choice rather than hiring discrimination.
One of the real problems with the gender gap is that many times it is a sign of wealth or poverty -- that is, in various demographics of wealthy households and poor households women are not part of the workforce. It forms a bell-shaped curve. Poor mothers ($90K) the line starts to rapidly drop again. So splitting out the numbers, if the individuals are making $30K-$50K then often the mother is educated and also the mother works. But once the family has highly paid workers, with the husband highly paid making >$90K then the women again tend to stay home with children rapidly trending back down to about 43% working once you've crossed the roughly $150K husband's income. Since the tech field is very highly paid that puts the gender gap as a voluntary choice, not an involuntary hiring discrimination.
Based both on what I have seen and also what I have read in various reports, the problem (if there is one) is at the source end of the education pipeline. When it comes to "Black or African American" demographics the number of graduates and number of workers is at parity. When it comes to females, the numbers are that women who choose to stick with the field are readily employed and that many women leave as they age at a rate far more rapid than other fields.