Write a GPU program that applies the sigmoid activation function element-wise to a vector of
32-bit floating point numbers. For each element x in the input vector X,
compute sigmoid(x) = 1 / (1 + exp(-x)) and store the result in the output vector
Y. The sigmoid function maps any real number to the range (0, 1).
solve function signature must remain unchangedYInput: X = [0.0, 1.0, -1.0, 2.0] Output: Y = [0.5, 0.7311, 0.2689, 0.8808]
Input: X = [0.5, -0.5, 3.0, -3.0] Output: Y = [0.6225, 0.3775, 0.9526, 0.0474]
N ≤ 100,000,000N = 50,000,000