Skip to content

Commit 12b4714

Browse files
committed
cuda_bindings/examples/3_CUDA_Features/simpleCudaGraphs_test.py: remove skipif entirely to see what errors we get
1 parent 1990d77 commit 12b4714

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

cuda_bindings/examples/3_CUDA_Features/simpleCudaGraphs_test.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import random as rnd
66

77
import numpy as np
8-
import pytest
98
from common import common
109
from common.helper_cuda import checkCudaErrors, findCudaDevice
1110
from cuda.bindings import driver as cuda
@@ -362,23 +361,6 @@ def cudaGraphsUsingStreamCapture(inputVec_h, inputVec_d, outputVec_d, result_d,
362361
checkCudaErrors(cudart.cudaStreamDestroy(streamForGraph))
363362

364363

365-
def checkKernelCompiles():
366-
kernel_headers = """\
367-
#include <cooperative_groups.h>
368-
"""
369-
try:
370-
common.KernelHelper(kernel_headers, findCudaDevice())
371-
except:
372-
# Filters out test from automation when CG header has issues compiling
373-
# Automation issue is observed when CG headers are obtained through PYPI packages
374-
# The problem is that these headers and their dependencies are segmented between
375-
# multiple packages, and NVRTC requires that you specify the path to each segemented
376-
# include path.
377-
return False
378-
return True
379-
380-
381-
@pytest.mark.skipif(not checkKernelCompiles(), reason="Automation filter against incompatible kernel")
382364
def main():
383365
size = 1 << 24 # number of elements to reduce
384366
maxBlocks = 512

0 commit comments

Comments
 (0)