{ "fileTypes": [ "cu", "cuh", "h" ], "firstLineMatch": "-\\*- C\\+\\+ -\\*-", "foldingStartMarker": "(?x)\n\t\t /\\*\\*(?!\\*)\n\t\t|^(?![^{]*?//|[^{]*?/\\*(?!.*?\\*/.*?\\{)).*?\\{\\s*($|//|/\\*(?!.*?\\*/.*\\S))\n\t", "foldingStopMarker": "(?>>)", "name": "keyword.operator.cuda-c++", "patterns": [ { "include": "$base" } ] }, { "comment": "B.20 LAUNCH BOUNDS", "match": "\\b__launch_bounds__\\b", "name": "support.function.qualifier.cuda-c++" }, { "comment": "D.2 INTRINSIC FUNCTIONS Table 8", "match": "\\b__(fdividef|sincosf|log10f|exp10f|log2f|logf|expf|powf|sinf|cosf|tanf)\\b", "name": "support.function.cuda-c++" }, { "comment": "D.2 INTRINSIC FUNCTIONS Table 9", "match": "\\b__((fsqrt|frcp|fadd|fsub|fmul|fmaf|fdiv)_(rn|rz|ru|rd)|frsqrt_rn)\\b", "name": "support.function.cuda-c++" }, { "comment": "D.2 INTRINSIC FUNCTIONS Table 10", "match": "\\b__(dsqrt|dadd|dsub|dmul|ddiv|drcp|fma)_(rn|rz|ru|rd)\\b", "name": "support.function.cuda-c++" } ], "repository": { }, "scopeName": "source.cuda-c++", "uuid": "e498cb33-bf6f-487b-8c77-02576bcb76dc" }